Freigeben über


WcfServiceRemotingListener.ICommunicationListener.CloseAsync Methode

Definition

Diese Methode bewirkt, dass der Kommunikationslistener geschlossen wird. Close ist ein Terminalzustand, und mit dieser Methode kann der Kommunikationslistener ordnungsgemäß zu diesem Zustand wechseln.

System.Threading.Tasks.Task ICommunicationListener.CloseAsync (System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.ServiceFabric.Services.Communication.Runtime.ICommunicationListener.CloseAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.Microsoft.ServiceFabric.Services.Communication.Runtime.ICommunicationListener.CloseAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Function CloseAsync (cancellationToken As CancellationToken) As Task Implements ICommunicationListener.CloseAsync

Parameter

cancellationToken
CancellationToken

Abbruchtoken

Gibt zurück

Eine Aufgabe , die einen hervorragenden Vorgang darstellt.

Implementiert

Gilt für: