C# Class D2L.Extensibility.AuthSdk.D2LWebException

Provides a wrapper around a WebException to simplify getting the result from it
Exibir arquivo Open project: Brightspace/valence-sdk-dotnet Class Usage Examples

Public Methods

Method Description
D2LWebException ( WebException ex ) : System.IO

Constructs a D2LWebException and if possible reads the HttpStatusCode and message body of the response from the Exception

Method Details

D2LWebException() public method

Constructs a D2LWebException and if possible reads the HttpStatusCode and message body of the response from the Exception
public D2LWebException ( WebException ex ) : System.IO
ex System.Net.WebException The WebException to attempt to read the HttpStatusCode and message body from
return System.IO