/// <summary>
 /// Ends the specified result.
 /// </summary>
 /// <param name="result">The result.</param>
 public static void End(IAsyncResult result)
 {
     AsyncResultBase.End <OnOnlineAnnouncementAsyncResult>(result);
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Ends the specified result.
        /// </summary>
        /// <param name="result">The result.</param>
        /// <returns></returns>
        public static EndpointDiscoveryMetadata End(IAsyncResult result)
        {
            OnResolveAsyncResult thisPtr = AsyncResultBase.End <OnResolveAsyncResult>(result);

            return(thisPtr.matchingEndpoint);
        }
 /// <summary>
 /// Ends the specified result.
 /// </summary>
 /// <param name="result">The result.</param>
 public static void End(IAsyncResult result)
 {
     AsyncResultBase.End <OnFindAsyncResult>(result);
 }