docs.unity.cn
    Show / Hide Table of Contents

    Class NotServerException

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

    Inheritance
    Object
    Exception
    NotServerException
    Namespace: Unity.Netcode
    Syntax
    public class NotServerException : Exception, ISerializable, _Exception

    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

    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, April 21, 2023
    Terms of use