docs.unity3d.com
    Show / Hide Table of Contents

    Class TusException

    Represents an exception that might occur when using TusClient. See https://github.com/jonstodle/TusDotNetClient.

    Inheritance
    Object
    TusException
    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 to base the TusException on.

    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 with.

    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 to base the new TusException on.

    String message

    Text to prefix the with.

    Properties

    OriginalException

    Get the original that occured.

    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 containing all relevant information about the TusException.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A containing information about the exception.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023