Freigeben über


WcfServiceRemotingClientFactory.ICommunicationClientFactory<IServiceRemotingClient>.ReportOperationExceptionAsync Methode

Definition

Behandelt die Ausnahmen, die im CommunicationClient auftreten, wenn eine Nachricht an den Dienst gesendet wird

System.Threading.Tasks.Task<Microsoft.ServiceFabric.Services.Communication.Client.OperationRetryControl> ICommunicationClientFactory<IServiceRemotingClient>.ReportOperationExceptionAsync (Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClient client, Microsoft.ServiceFabric.Services.Communication.Client.ExceptionInformation exceptionInformation, Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings retrySettings, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClientFactory<Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClient>.ReportOperationExceptionAsync : Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClient * Microsoft.ServiceFabric.Services.Communication.Client.ExceptionInformation * Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceFabric.Services.Communication.Client.OperationRetryControl>
override this.Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClientFactory<Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClient>.ReportOperationExceptionAsync : Microsoft.ServiceFabric.Services.Remoting.V2.Client.IServiceRemotingClient * Microsoft.ServiceFabric.Services.Communication.Client.ExceptionInformation * Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceFabric.Services.Communication.Client.OperationRetryControl>
Function ReportOperationExceptionAsync (client As IServiceRemotingClient, exceptionInformation As ExceptionInformation, retrySettings As OperationRetrySettings, cancellationToken As CancellationToken) As Task(Of OperationRetryControl) Implements ICommunicationClientFactory(Of IServiceRemotingClient).ReportOperationExceptionAsync

Parameter

client
IServiceRemotingClient

Kommunikationsclient

exceptionInformation
ExceptionInformation

Informationen zu Ausnahmen, die während der Kommunikation mit dem Dienst aufgetreten sind.

retrySettings
OperationRetrySettings

Gibt die Wiederholungsrichtlinie an, die für die Behandlung der gemeldeten Ausnahme verwendet werden soll.

cancellationToken
CancellationToken

Abbruchtoken

Gibt zurück

Ein Task , der einen ausstehenden Vorgang darstellt. Das Ergebnis der Aufgabe ist ein OperationRetryControl -Objekt, das Informationen zur Wiederholungsrichtlinie für diese Ausnahme bereitstellt.

Implementiert

Gilt für: