Edytuj

Udostępnij za pośrednictwem


OrleansException Constructors

Definition

Overloads

OrleansException()

Initializes a new instance of the OrleansException class.

OrleansException(String)

Initializes a new instance of the OrleansException class.

OrleansException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the OrleansException class.

OrleansException(String, Exception)

Initializes a new instance of the OrleansException class.

OrleansException()

Source:
OrleansException.cs

Initializes a new instance of the OrleansException class.

public OrleansException ();
Public Sub New ()

Applies to

OrleansException(String)

Source:
OrleansException.cs

Initializes a new instance of the OrleansException class.

public OrleansException (string message);
new Orleans.Runtime.OrleansException : string -> Orleans.Runtime.OrleansException
Public Sub New (message As String)

Parameters

message
String

The message.

Applies to

OrleansException(SerializationInfo, StreamingContext)

Source:
OrleansException.cs

Caution

This API is now deprecated.

Initializes a new instance of the OrleansException class.

protected OrleansException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete]
protected OrleansException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Orleans.Runtime.OrleansException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Runtime.OrleansException
[<System.Obsolete>]
new Orleans.Runtime.OrleansException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Orleans.Runtime.OrleansException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialization info.

context
StreamingContext

The context.

Attributes

Exceptions

The class name is null or HResult is zero (0).

info is null.

Applies to

OrleansException(String, Exception)

Source:
OrleansException.cs

Initializes a new instance of the OrleansException class.

public OrleansException (string message, Exception innerException);
new Orleans.Runtime.OrleansException : string * Exception -> Orleans.Runtime.OrleansException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message.

innerException
Exception

The inner exception.

Applies to