docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MatchmakerServiceException

    Represents an exception that occurs in the usage of the Unity Matchmaker Service.

    Inheritance
    object
    Exception
    RequestFailedException
    MatchmakerServiceException
    Implements
    ISerializable
    Inherited Members
    RequestFailedException.ErrorCode
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    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.Matchmaker
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    public class MatchmakerServiceException : RequestFailedException, ISerializable

    Constructors

    MatchmakerServiceException(Exception)

    Creates a MatchmakerServiceException (unknown reason as default).

    Declaration
    public MatchmakerServiceException(Exception innerException)
    Parameters
    Type Name Description
    Exception innerException

    The exception raised internally by the service, if any.

    MatchmakerServiceException(MatchmakerExceptionReason, string, Exception)

    Creates a MatchmakerServiceException.

    Declaration
    public MatchmakerServiceException(MatchmakerExceptionReason reason, string message, Exception innerException = null)
    Parameters
    Type Name Description
    MatchmakerExceptionReason reason

    Reason for service failure.

    string message

    The description of the error.

    Exception innerException

    The exception raised internally by the service, if any.

    Properties

    Reason

    Reason for service failure.

    Declaration
    public MatchmakerExceptionReason Reason { get; }
    Property Value
    Type Description
    MatchmakerExceptionReason

    Implements

    ISerializable
    In This Article
    • Constructors
      • MatchmakerServiceException(Exception)
      • MatchmakerServiceException(MatchmakerExceptionReason, string, Exception)
    • Properties
      • Reason
    • Implements
    Back to top
    Copyright © 2024 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)