Method | Description | |
---|---|---|
RouterService ( StatefulServiceContext context ) : System |
Method | Description | |
---|---|---|
RunAsync ( |
This is the main entry point for your service replica. This method executes when this replica of your service becomes primary and has write status.
|
Method | Description | |
---|---|---|
ConnectToIoTHubAsync ( string connectionString, long servicePartitionKey, long>.IReliableDictionary |
Creates an EventHubReceiver from the given connection sting and partition key. The Reliable Dictionaries are used to create a receiver from wherever the service last left off, or from the current date/time if it's the first time the service is coming up.
|
public RouterService ( StatefulServiceContext context ) : System | ||
context | StatefulServiceContext | |
return | System |
protected RunAsync ( |
||
cancellationToken | Canceled when Service Fabric needs to shut down this service replica. | |
return | Task |