Class ServerInitializingException
A ISession could not be established because the server was initializing.
Inheritance
ServerInitializingException
Namespace: PushTechnology.ClientInterface.Client.Session
Assembly: Diffusion.Client.dll
Syntax
public class ServerInitializingException : SessionEstablishmentTransientException
Remarks
Added in 6.8.
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}" );
}
Constructors
ServerInitializingException(String)
Initializes a new ServerInitializingException instance.
Declaration
public ServerInitializingException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The exception message. |
Remarks
Added in 6.8.
Examples
Creating a new instance.
var exception = new ServerInitializingException( "The error message." );