docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NotServerException

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

    Inheritance
    object
    Exception
    NotServerException
    Implements
    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
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public class NotServerException : Exception, ISerializable

    Constructors

    NotServerException()

    Constructs a NotServerException

    Declaration
    public NotServerException()

    NotServerException(string)

    Constructs a NotServerException with a message

    Declaration
    public NotServerException(string message)
    Parameters
    Type Name Description
    string message

    The exception message

    NotServerException(string, Exception)

    Constructs a NotServerException with a message and a inner exception

    Declaration
    public NotServerException(string message, Exception inner)
    Parameters
    Type Name Description
    string message

    The exception message

    Exception inner

    The inner exception

    Implements

    ISerializable
    In This Article
    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)