System.Net.Security.Tests.ServerAsyncAuthenticateTest.ServerAsyncAuthenticate_UnsupportedAllServer_Fail C# (CSharp) Method

ServerAsyncAuthenticate_UnsupportedAllServer_Fail() private method

private ServerAsyncAuthenticate_UnsupportedAllServer_Fail ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        public async Task ServerAsyncAuthenticate_UnsupportedAllServer_Fail()
        {
            await Assert.ThrowsAsync<NotSupportedException>(() =>
            {
                return ServerAsyncSslHelper(
                    SslProtocolSupport.SupportedSslProtocols,
                    SslProtocolSupport.UnsupportedSslProtocols,
                    expectedToFail: true);
            });
        }