System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails C# (CSharp) Method

ClientAsyncAuthenticate_MismatchProtocols_Fails() private method

private ClientAsyncAuthenticate_MismatchProtocols_Fails ( SslProtocols serverProtocol, SslProtocols clientProtocol, Type expectedException ) : Task
serverProtocol SslProtocols
clientProtocol SslProtocols
expectedException Type
return Task
        public async Task ClientAsyncAuthenticate_MismatchProtocols_Fails(
            SslProtocols serverProtocol,
            SslProtocols clientProtocol,
            Type expectedException)
        {
            await Assert.ThrowsAsync(expectedException, () => ClientAsyncSslHelper(serverProtocol, clientProtocol));
        }