Skip to main content

Unity.Netcode.NotServerException

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

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Implements#

System.Runtime.InteropServices._Exception

System.Runtime.Serialization.ISerializable

Inherited Members#

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

Object.Equals(Object)

Object.Equals(Object, Object)

Object.GetHashCode()

Object.MemberwiseClone()

Object.ReferenceEquals(Object, Object)

Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
public class NotServerException : Exception, _Exception, ISerializable

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