CQRSMicroservices.ServiceFabric.WebService.OwinCommunicationListener.CloseAsync C# (CSharp) 메소드

CloseAsync() 공개 메소드

Closes the communication listener.
public CloseAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken The cancellation token.
리턴 Task
    public Task CloseAsync(CancellationToken cancellationToken)
    {
      StopWebServer();
      ServiceEventSource.Current.Message("Communication Listener closed.");
      return Task.FromResult(1);
    }