Class TusException
Represents an exception that might occur when using TusClient. See https://github.com/jonstodle/TusDotNetClient.
Namespace: Unity.Services.Ccd.Management
Syntax
public class TusException : WebException
Constructors
TusException(OperationCanceledException)
Create a new instance of TusException based on an
Declaration
public TusException(OperationCanceledException ex)
Parameters
Type | Name | Description |
---|---|---|
OperationCanceledException | ex | An |
TusException(TusException, String)
Create a new instance of TusException based on another TusException.
Declaration
public TusException(TusException ex, string message)
Parameters
Type | Name | Description |
---|---|---|
TusException | ex | The TusException to base the new TusException on. |
String | message | Text to prefix the |
TusException(WebException, String)
Create a new instance of TusException based on a
Declaration
public TusException(WebException ex, string message = "")
Parameters
Type | Name | Description |
---|---|---|
WebException | ex | The |
String | message | Text to prefix the |
Properties
OriginalException
Get the original
Declaration
public WebException OriginalException { get; }
Property Value
Type | Description |
---|---|
WebException |
ResponseContent
Get the content, if any, of the failed operation.
Declaration
public string ResponseContent { get; }
Property Value
Type | Description |
---|---|
String |
StatusCode
Get the HTTP status code, if any, of the failed operation.
Declaration
public HttpStatusCode StatusCode { get; }
Property Value
Type | Description |
---|---|
HttpStatusCode |
StatusDescription
Get the description of the HTTP status code.
Declaration
public string StatusDescription { get; }
Property Value
Type | Description |
---|---|
String |
Methods
ToString()
Get a
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A |