private SslProtocols_SetUsingUnsupported_Throws ( SslProtocols protocol ) : void | ||
protocol | SslProtocols | |
return | void |
public void SslProtocols_SetUsingUnsupported_Throws(SslProtocols protocol)
{
var handler = new WinHttpHandler();
Assert.Throws<NotSupportedException>(() => { handler.SslProtocols = protocol; });
}