C# Class VINLookupService.VINLookupService

The FabricRuntime creates an instance of this class for each service type instance.
Inheritance: StatelessService
显示文件 Open project: Azure-Samples/MyDriving

Protected Methods

Method Description
CreateServiceInstanceListeners ( ) : IEnumerable

Optional override to create listeners (like tcp, http) for this service instance.

RunAsync ( CancellationToken cancelServiceInstance ) : Task

This is the main entry point for your service instance.

Private Methods

Method Description
SaveRecord ( string sqlConnectionString, string vin, CarInfo carInfo ) : void

Method Details

CreateServiceInstanceListeners() protected method

Optional override to create listeners (like tcp, http) for this service instance.
protected CreateServiceInstanceListeners ( ) : IEnumerable
return IEnumerable

RunAsync() protected method

This is the main entry point for your service instance.
protected RunAsync ( CancellationToken cancelServiceInstance ) : Task
cancelServiceInstance System.Threading.CancellationToken Canceled when Service Fabric terminates this instance.
return Task