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