Table of Contents

Class ServerInitializingException

Namespace
PushTechnology.ClientInterface.Client.Session
Assembly
Diffusion.Client.dll

A ISession could not be established because the server was initializing.

public class ServerInitializingException : SessionEstablishmentTransientException, ISerializable
Inheritance
ServerInitializingException
Implements
Inherited Members

Examples

Catching the exception and printing its message on the terminal.

try {
    // Some call that might throw a ServerInitializingException
} catch ( ServerInitializingException ex ) {
    Console.WriteLine( $"[ERROR] {ex.Message}" );
}

Remarks

Added in 6.8.

Constructors

ServerInitializingException(string)

Initializes a new ServerInitializingException instance.

public ServerInitializingException(string message)

Parameters

message string

The exception message.

Examples

Creating a new instance.

var exception = new ServerInitializingException( "The error message." );

Remarks

Added in 6.8.