docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TusException

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

    Inheritance
    object
    Exception
    SystemException
    InvalidOperationException
    WebException
    TusException
    Implements
    _Exception
    ISerializable
    Inherited Members
    WebException.GetObjectData(SerializationInfo, StreamingContext)
    WebException.Response
    WebException.Status
    Exception.GetBaseException()
    Exception.GetType()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Services.Ccd.Management
    Assembly: Unity.Services.Ccd.Management.dll
    Syntax
    public class TusException : WebException, _Exception, ISerializable

    Constructors

    TusException(WebException, string)

    Create a new instance of TusException based on a WebException.

    Declaration
    public TusException(WebException ex, string message = "")
    Parameters
    Type Name Description
    WebException ex

    The WebException to base the new TusException on.

    string message

    Text to prefix the Message with.

    TusException(OperationCanceledException)

    Create a new instance of TusException based on an OperationCanceledException.

    Declaration
    public TusException(OperationCanceledException ex)
    Parameters
    Type Name Description
    OperationCanceledException ex

    An OperationCanceledException 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 Message with.

    Properties

    OriginalException

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

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string containing information about the exception.

    Overrides
    Exception.ToString()

    Implements

    _Exception
    ISerializable
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)