docs.unity3d.com
    Show / Hide Table of Contents

    Class ServiceException

    Inheritance
    Object
    Exception
    ServiceException
    AuthenticationFailedException
    ConnectionException
    DeviceCodeExpiredException
    ForbiddenException
    InvalidArgumentException
    LicenseUnavailableException
    MaxSeatReachedException
    NoEntitlementAvailableException
    NoSeatEntitlementException
    NotFoundException
    ServerException
    UnauthorizedException
    UnknownApplicationException
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetType()
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.TargetSite
    Exception.StackTrace
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.SerializeObjectState
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Common
    Syntax
    [Serializable]
    [ServiceError(ServiceError.Code.Unknown, HttpStatusCode.BadRequest)]
    public class ServiceException : Exception, ISerializable, _Exception

    Constructors

    ServiceException()

    Declaration
    protected ServiceException()

    ServiceException(SerializationInfo, StreamingContext)

    Declaration
    protected ServiceException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info
    StreamingContext context

    ServiceException(String)

    Declaration
    protected ServiceException(string message)
    Parameters
    Type Name Description
    String message

    ServiceException(String, Exception)

    Declaration
    public ServiceException(string message, Exception innerException)
    Parameters
    Type Name Description
    String message
    Exception innerException

    ServiceException(ServiceError)

    Declaration
    public ServiceException(ServiceError error)
    Parameters
    Type Name Description
    ServiceError error

    Properties

    ErrorCode

    Declaration
    public ServiceError.Code ErrorCode { get; }
    Property Value
    Type Description
    ServiceError.Code

    StatusCode

    Declaration
    public HttpStatusCode? StatusCode { get; }
    Property Value
    Type Description
    Nullable<HttpStatusCode>

    Methods

    GetObjectData(SerializationInfo, StreamingContext)

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info
    StreamingContext context
    Overrides
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Back to top
    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