Class ServerInitializingException
A ISession could not be established because the server was initializing.
Inheritance
System.Object
System.Exception
ServerInitializingException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: PushTechnology.ClientInterface.Client.Session
Assembly: Diffusion.Client.dll
Syntax
public class ServerInitializingException : SessionEstablishmentTransientException, ISerializable
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 |
---|---|---|
System.String | message | The exception message. |
Remarks
Added in 6.8.
Examples
Creating a new instance.
var exception = new ServerInitializingException( "The error message." );
Implements
System.Runtime.Serialization.ISerializable