Udostępnij za pośrednictwem


WcfServiceRemotingListener.ICommunicationListener.OpenAsync Method

Definition

This method causes the communication listener to be opened. Once the Open completes, the communication listener becomes usable - accepts and sends messages.

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

Parameters

cancellationToken
CancellationToken

Cancellation token

Returns

A Task that represents outstanding operation. The result of the Task is the endpoint string.

Implements

Applies to