Example #1
0
 public Task CloseAsync(CancellationToken cancellationToken)
 {
     return(Task.Factory.StartNew(() => ServiceImplementationHelper.HandleClose(this.initParams.InitializationData, this.replicaId)));;
 }
Example #2
0
 public void Abort()
 {
     ServiceImplementationHelper.HandleClose(this.initParams.InitializationData, this.replicaId);
 }
Example #3
0
 public Threading.Tasks.Task CloseAsync(CancellationToken cancellationToken)
 {
     ServiceImplementationHelper.HandleClose(this.initParams.InitializationData, this.instanceId);
     return(Task.Factory.StartNew(() => {; }));
 }