Udostępnij za pośrednictwem


ExceptionInformation Constructors

Definition

Overloads

ExceptionInformation(Exception)

Initializes a new instance of the ExceptionInformation class using the given exception and the default target replica selector.

ExceptionInformation(Exception, TargetReplicaSelector)

Initializes a new instance of the ExceptionInformation class using the given exception and target replica selector.

ExceptionInformation(Exception)

Initializes a new instance of the ExceptionInformation class using the given exception and the default target replica selector.

public ExceptionInformation (Exception exception);
new Microsoft.ServiceFabric.Services.Communication.Client.ExceptionInformation : Exception -> Microsoft.ServiceFabric.Services.Communication.Client.ExceptionInformation
Public Sub New (exception As Exception)

Parameters

exception
Exception

The exception that was received

Applies to

ExceptionInformation(Exception, TargetReplicaSelector)

Initializes a new instance of the ExceptionInformation class using the given exception and target replica selector.

public ExceptionInformation (Exception exception, Microsoft.ServiceFabric.Services.Communication.Client.TargetReplicaSelector targetReplica);
new Microsoft.ServiceFabric.Services.Communication.Client.ExceptionInformation : Exception * Microsoft.ServiceFabric.Services.Communication.Client.TargetReplicaSelector -> Microsoft.ServiceFabric.Services.Communication.Client.ExceptionInformation
Public Sub New (exception As Exception, targetReplica As TargetReplicaSelector)

Parameters

exception
Exception

The exception that was received

targetReplica
TargetReplicaSelector

The target replica information

Applies to