System.Net.Security.SslState.InternalEndProcessAuthentication C# (CSharp) Метод

InternalEndProcessAuthentication() приватный Метод

private InternalEndProcessAuthentication ( LazyAsyncResult lazyResult ) : void
lazyResult LazyAsyncResult
Результат void
        internal void InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
        {
            // No "artificial" timeouts implemented so far, InnerStream controls that.
            lazyResult.InternalWaitForCompletion();
            Exception e = lazyResult.Result as Exception;

            if (e != null)
            {
                // Failed auth, reset the framing if any.
                _Framing = Framing.Unknown;
                _handshakeCompleted = false;

                SetException(e).Throw();
            }
        }