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