HttpPostClientProtocol Constructor ()
.NET Framework (current version)
Initializes a new instance of the HttpPostClientProtocol class.
Assembly: System.Web.Services (in System.Web.Services.dll)
// Math is a proxy class derived from HttpPostClientProtocol. HttpPostClientProtocol^ myHttpPostClientProtocol = gcnew ::Math; // Obtain password from a secure store. String^ SecurelyStoredPassword = String::Empty; // Set the client-side credentials using the Credentials property. myHttpPostClientProtocol->Credentials = System::Net::CredentialCache::DefaultCredentials; // Allow the server to redirect the request. myHttpPostClientProtocol->AllowAutoRedirect = true; Console::WriteLine( "Auto redirect is: {0}", myHttpPostClientProtocol->AllowAutoRedirect );
.NET Framework
Available since 1.1
Available since 1.1
Show: