Base exception class for a Device Portal exception
More...
|
| DevicePortalException (HttpStatusCode statusCode, HttpErrorResponse errorResponse, Uri requestUri=null, string message="", Exception innerException=null) |
| Initializes a new instance of the DevicePortalException class. More...
|
|
| DevicePortalException (HttpResponseMessage responseMessage, string message="", Exception innerException=null) |
| Initializes a new instance of the DevicePortalException class. More...
|
|
| DevicePortalException (HttpStatusCode statusCode, string reason, Uri requestUri=null, string message="", Exception innerException=null) |
| Initializes a new instance of the DevicePortalException class. More...
|
|
override void | GetObjectData (SerializationInfo info, StreamingContext context) |
| Get object data override More...
|
|
Base exception class for a Device Portal exception
Microsoft.Tools.WindowsDevicePortal.DevicePortalException.DevicePortalException |
( |
HttpStatusCode |
statusCode, |
|
|
HttpErrorResponse |
errorResponse, |
|
|
Uri |
requestUri = null , |
|
|
string |
message = "" , |
|
|
Exception |
innerException = null |
|
) |
| |
|
inline |
Initializes a new instance of the DevicePortalException class.
- Parameters
-
statusCode | The Http status code. |
errorResponse | Http parsed error response message. |
requestUri | Request URI which threw the exception. |
message | Optional exception message. |
innerException | Optional inner exception. |
Microsoft.Tools.WindowsDevicePortal.DevicePortalException.DevicePortalException |
( |
HttpResponseMessage |
responseMessage, |
|
|
string |
message = "" , |
|
|
Exception |
innerException = null |
|
) |
| |
|
inline |
Initializes a new instance of the DevicePortalException class.
- Parameters
-
responseMessage | Http response message. |
message | Optional exception message. |
innerException | Optional inner exception. |
Microsoft.Tools.WindowsDevicePortal.DevicePortalException.DevicePortalException |
( |
HttpStatusCode |
statusCode, |
|
|
string |
reason, |
|
|
Uri |
requestUri = null , |
|
|
string |
message = "" , |
|
|
Exception |
innerException = null |
|
) |
| |
|
inline |
Initializes a new instance of the DevicePortalException class.
- Parameters
-
statusCode | Http status code. |
reason | Reason for exception. |
requestUri | Request URI which threw the exception. |
message | Optional message. |
innerException | Optional inner exception. |
override void Microsoft.Tools.WindowsDevicePortal.DevicePortalException.GetObjectData |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
|
inline |
Get object data override
- Parameters
-
info | Serialization info |
context | Streaming context |
string Microsoft.Tools.WindowsDevicePortal.DevicePortalException.Reason |
|
get |
Gets a reason for the exception.
Uri Microsoft.Tools.WindowsDevicePortal.DevicePortalException.RequestUri |
|
get |
Gets the request URI that threw the exception.
HttpStatusCode Microsoft.Tools.WindowsDevicePortal.DevicePortalException.StatusCode |
|
get |
Gets the HTTP Status code.
The documentation for this class was generated from the following file:
- WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Exceptions/DevicePortalException.cs