2

I'm using Castle WCF Facility to perform async calls to WCF services, e.g.

public void Start()
{
    // original thread

    svc.BeginWcfCall(x => x.GetData(), OnAsyncResult, null);
}

public void OnAsyncResult(IWcfAsyncCall<object[]> asyncCall)
{
    // callback thread
}

Is there any built-in way to force Thread.CurrentPrincipal being set to the same value as in the caller thread?

jwaliszko
  • 16,942
  • 22
  • 92
  • 158

0 Answers0