System.Net.Tests.HttpWebRequestHeaderTest.ServicePoint_PNS_Expect C# (CSharp) Method

ServicePoint_PNS_Expect() private method

private ServicePoint_PNS_Expect ( Uri remoteServer ) : void
remoteServer Uri
return void
        public void ServicePoint_PNS_Expect(Uri remoteServer)
        {
            HttpWebRequest request = WebRequest.CreateHttp(remoteServer);
            {
                Assert.Throws<PlatformNotSupportedException>(() => request.ServicePoint);
            }
        }