ExceptionInformation Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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