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