C# Class EventHubListenerLib.EventHubListener

Inheritance: ICommunicationListener
显示文件 Open project: khenidak/service-fabric-eventhub-listener

Private Properties

Property Type Description

Public Methods

Method Description
Abort ( ) : void
CloseAsync ( CancellationToken cancellationToken ) : Task
EventHubListener ( EventHubListenerOptions options ) : Microsoft.ServiceFabric.Services.Communication.Runtime
OpenAsync ( CancellationToken cancellationToken ) : Task
StartAsync ( ) : Task

When called Event Hub receivers will be created and connect to Event Hub to receive events.

Method Details

Abort() public method

public Abort ( ) : void
return void

CloseAsync() public method

public CloseAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

EventHubListener() public method

public EventHubListener ( EventHubListenerOptions options ) : Microsoft.ServiceFabric.Services.Communication.Runtime
options EventHubListenerOptions
return Microsoft.ServiceFabric.Services.Communication.Runtime

OpenAsync() public method

public OpenAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

StartAsync() public method

When called Event Hub receivers will be created and connect to Event Hub to receive events.
public StartAsync ( ) : Task
return Task