AdlsClient.GetExceptionFromResponse(OperationResponse, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a ADLS Exception based on response from the server
public Microsoft.Azure.DataLake.Store.AdlsException GetExceptionFromResponse (Microsoft.Azure.DataLake.Store.OperationResponse resp, string defaultMessage);
member this.GetExceptionFromResponse : Microsoft.Azure.DataLake.Store.OperationResponse * string -> Microsoft.Azure.DataLake.Store.AdlsException
Public Function GetExceptionFromResponse (resp As OperationResponse, defaultMessage As String) As AdlsException
Parameters
- resp
- OperationResponse
Response encapsulating errors or exceptions
- defaultMessage
- String
Default message
Returns
Adls Exception
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET