Share via


FabricNotPrimaryException Konstruktoren

Definition

Überlädt

FabricNotPrimaryException()

Initialisiert eine neue instance der FabricNotPrimaryException -Klasse mit Fehlercode Unknown.

FabricNotPrimaryException(FabricErrorCode)

Initialisiert eine neue instance der FabricNotPrimaryException -Klasse mit einem angegebenen Fehlercode.

FabricNotPrimaryException(String)

Initialisiert eine neue Instanz der FabricNotPrimaryException-Klasse mit einer angegebenen Meldung.

FabricNotPrimaryException(SerializationInfo, StreamingContext)

Initialisiert eine neue instance der FabricNotPrimaryException -Klasse mit den angegebenen Informationen und dem angegebenen Kontext.

FabricNotPrimaryException(String, Exception)

Initialisiert eine neue instance der FabricNotPrimaryException -Klasse mit einer angegebenen Fehlermeldung und einem Verweis auf die innere Ausnahme, die die Ursache dieser Ausnahme ist.

FabricNotPrimaryException(String, FabricErrorCode)

Initialisiert eine neue instance der FabricNotPrimaryException -Klasse mit angegebenem Meldungs- und Fehlercode.

FabricNotPrimaryException(SerializationInfo, StreamingContext, FabricErrorCode)

Initialisiert eine neue instance der FabricNotPrimaryException Klasse mit angegebenen Informationen, Kontext und Fehlercode.

FabricNotPrimaryException(String, Exception, FabricErrorCode)

Initialisiert eine neue instance der FabricNotPrimaryException Klasse mit einer angegebenen Fehlermeldung, einem Verweis auf die innere Ausnahme, die die Ursache dieser Ausnahme ist, und einem angegebenen Fehlercode.

FabricNotPrimaryException()

Initialisiert eine neue instance der FabricNotPrimaryException -Klasse mit Fehlercode Unknown.

public FabricNotPrimaryException ();
Public Sub New ()

Gilt für:

FabricNotPrimaryException(FabricErrorCode)

Initialisiert eine neue instance der FabricNotPrimaryException -Klasse mit einem angegebenen Fehlercode.

public FabricNotPrimaryException (System.Fabric.FabricErrorCode errorCode);
new System.Fabric.FabricNotPrimaryException : System.Fabric.FabricErrorCode -> System.Fabric.FabricNotPrimaryException
Public Sub New (errorCode As FabricErrorCode)

Parameter

errorCode
FabricErrorCode

Der der Ausnahme zugeordnete Fehlercode.

Gilt für:

FabricNotPrimaryException(String)

Initialisiert eine neue Instanz der FabricNotPrimaryException-Klasse mit einer angegebenen Meldung.

public FabricNotPrimaryException (string message);
new System.Fabric.FabricNotPrimaryException : string -> System.Fabric.FabricNotPrimaryException
Public Sub New (message As String)

Parameter

message
String

Die Fehlermeldung, in der die Ursache der Ausnahme erklärt wird.

Gilt für:

FabricNotPrimaryException(SerializationInfo, StreamingContext)

Initialisiert eine neue instance der FabricNotPrimaryException -Klasse mit den angegebenen Informationen und dem angegebenen Kontext.

protected FabricNotPrimaryException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Fabric.FabricNotPrimaryException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Fabric.FabricNotPrimaryException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo

Das SerializationInfo Objekt, das serialisierte Objektdaten der ausgelösten Ausnahme enthält.

context
StreamingContext

Das StreamingContext-Objekt, das Kontextinformationen über die Quelle oder das Ziel enthält. Der Kontextparameter ist für die zukünftige Verwendung reserviert und kann NULL sein.

Gilt für:

FabricNotPrimaryException(String, Exception)

Initialisiert eine neue instance der FabricNotPrimaryException -Klasse mit einer angegebenen Fehlermeldung und einem Verweis auf die innere Ausnahme, die die Ursache dieser Ausnahme ist.

public FabricNotPrimaryException (string message, Exception inner);
new System.Fabric.FabricNotPrimaryException : string * Exception -> System.Fabric.FabricNotPrimaryException
Public Sub New (message As String, inner As Exception)

Parameter

message
String

Die Fehlermeldung, in der die Ursache der Ausnahme erklärt wird.

inner
Exception

Die Ausnahme, die die Ursache für die aktuelle Ausnahme ist, oder NULL, wenn keine innere Ausnahme angegeben ist. Die Exception -Klasse bietet weitere Details zur inneren Ausnahme.

Gilt für:

FabricNotPrimaryException(String, FabricErrorCode)

Initialisiert eine neue instance der FabricNotPrimaryException -Klasse mit angegebenem Meldungs- und Fehlercode.

public FabricNotPrimaryException (string message, System.Fabric.FabricErrorCode errorCode);
new System.Fabric.FabricNotPrimaryException : string * System.Fabric.FabricErrorCode -> System.Fabric.FabricNotPrimaryException
Public Sub New (message As String, errorCode As FabricErrorCode)

Parameter

message
String

Die Fehlermeldung, in der die Ursache der Ausnahme erklärt wird.

errorCode
FabricErrorCode

Der der Ausnahme zugeordnete Fehlercode.

Gilt für:

FabricNotPrimaryException(SerializationInfo, StreamingContext, FabricErrorCode)

Initialisiert eine neue instance der FabricNotPrimaryException Klasse mit angegebenen Informationen, Kontext und Fehlercode.

protected FabricNotPrimaryException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context, System.Fabric.FabricErrorCode errorCode);
new System.Fabric.FabricNotPrimaryException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext * System.Fabric.FabricErrorCode -> System.Fabric.FabricNotPrimaryException
Protected Sub New (info As SerializationInfo, context As StreamingContext, errorCode As FabricErrorCode)

Parameter

info
SerializationInfo

Das SerializationInfo Objekt, das serialisierte Objektdaten der ausgelösten Ausnahme enthält.

context
StreamingContext

Das StreamingContext-Objekt, das Kontextinformationen über die Quelle oder das Ziel enthält. Der Kontextparameter ist für die zukünftige Verwendung reserviert und kann NULL sein.

errorCode
FabricErrorCode

Der der Ausnahme zugeordnete Fehlercode.

Gilt für:

FabricNotPrimaryException(String, Exception, FabricErrorCode)

Initialisiert eine neue instance der FabricNotPrimaryException Klasse mit einer angegebenen Fehlermeldung, einem Verweis auf die innere Ausnahme, die die Ursache dieser Ausnahme ist, und einem angegebenen Fehlercode.

public FabricNotPrimaryException (string message, Exception inner, System.Fabric.FabricErrorCode errorCode);
new System.Fabric.FabricNotPrimaryException : string * Exception * System.Fabric.FabricErrorCode -> System.Fabric.FabricNotPrimaryException
Public Sub New (message As String, inner As Exception, errorCode As FabricErrorCode)

Parameter

message
String

Die Fehlermeldung, in der die Ursache der Ausnahme erklärt wird.

inner
Exception

Die Ausnahme, die die Ursache für die aktuelle Ausnahme ist, oder NULL, wenn keine innere Ausnahme angegeben ist. Die Exception -Klasse bietet weitere Details zur inneren Ausnahme.

errorCode
FabricErrorCode

Der der Ausnahme zugeordnete Fehlercode.

Gilt für: