Beispiel #1
0
 public void Ping(Guid guid)
 {
     callback = OperationContext.Current.GetCallbackChannel <IWcfDuplexServiceCallback>();
     // Schedule the callback on another thread to avoid reentrancy.
     Task.Run(() => callback.OnPingCallback(guid));
 }
Beispiel #2
0
 public void Ping(Guid guid)
 {
     callback = OperationContext.Current.GetCallbackChannel<IWcfDuplexServiceCallback>();
     // Schedule the callback on another thread to avoid reentrancy.
     Task.Run(() => callback.OnPingCallback(guid));
 }