Gets the XML from the specified uri asynchronously.
Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.6
Syntax
C#
public Task<DeserializedHttpResponse<T>> GetXmlAsync<T>( string uri ) where T : class
Parameters
- uri
- Type: SystemString
The URI.
Type Parameters
- T
- The type of the response.
Return Value
Type: TaskDeserializedHttpResponseTThe parsed data.
Exceptions
Exception | Condition |
---|---|
HttpClientRequestException | Thrown, if the request failed. In this case, you can inspect Error. |
See Also