v1.1.4
Latest
2022.3+

Class MatchmakerServiceException

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

Inheritance
System.Object
System.Exception
MatchmakerServiceException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Matchmaker
Syntax
public class MatchmakerServiceException : RequestFailedException, ISerializable, _Exception

Constructors

MatchmakerServiceException(Exception)

Creates a MatchmakerServiceException (unknown reason as default).

Declaration
public MatchmakerServiceException(Exception innerException)
Parameters
TypeNameDescription
System.ExceptioninnerException

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
TypeNameDescription
MatchmakerExceptionReasonreason

Reason for service failure.

System.Stringmessage

The description of the error.

System.ExceptioninnerException

The exception raised internally by the service, if any.

Properties

Reason

Reason for service failure.

Declaration
public MatchmakerExceptionReason Reason { get; }
Property Value
TypeDescription
MatchmakerExceptionReason