Skip to main content

Class NotServerException

Exception thrown when the operation can only be done on the server

Inheritance#

System.Object

System.Exception

NotServerException

Implements#

System.Runtime.InteropServices._Exception

System.Runtime.Serialization.ISerializable

Inherited Members#

System.Exception.GetBaseException()

System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

System.Exception.GetType()

System.Exception.ToString()

System.Exception.Data

System.Exception.HelpLink

System.Exception.HResult

System.Exception.InnerException

System.Exception.Message

System.Exception.Source

System.Exception.StackTrace

System.Exception.TargetSite

System.Object.Equals(System.Object)

System.Object.Equals(System.Object, System.Object)

System.Object.GetHashCode()

System.Object.MemberwiseClone()

System.Object.ReferenceEquals(System.Object, System.Object)

Namespace: Unity.Netcode#
Assembly: MLAPI.dll#
Syntax#
public class NotServerException : Exception, _Exception, ISerializable

Constructors#

NotServerException()#

Constructs a NotServerException

Declaration#
public NotServerException()

NotServerException(String)#

Constructs a NotServerException with a message

Declaration#
public NotServerException(string message)
Parameters#
TypeNameDescription
System.StringmessageThe exception message

NotServerException(String, Exception)#

Constructs a NotServerException with a message and a inner exception

Declaration#
public NotServerException(string message, Exception inner)
Parameters#
TypeNameDescription
System.StringmessageThe exception message
System.ExceptioninnerThe inner exception

Implements#

System.Runtime.InteropServices._Exception

System.Runtime.Serialization.ISerializable