Beispiel #1
0
        static bool OnOnResolveCompleted(IAsyncResult result)
        {
            ResolveDuplexAsyncResult <TResolveMessage, TResponseChannel> thisPtr =
                (ResolveDuplexAsyncResult <TResolveMessage, TResponseChannel>)result.AsyncState;

            EndpointDiscoveryMetadata matchingEndpoint = thisPtr.discoveryServiceImpl.EndResolve(result);

            return(thisPtr.SendResolveResponse(matchingEndpoint));
        }