Export (0) Print
Expand All

ServicePoint.SupportsPipelining Property

Indicates whether the ServicePoint object supports pipelined connections.

Namespace: System.Net
Assembly: System (in system.dll)

public:
property bool SupportsPipelining {
	bool get ();
}
/** @property */
public boolean get_SupportsPipelining ()

public function get SupportsPipelining () : boolean

Not applicable.

Property Value

true if the ServicePoint object supports pipelined connections; otherwise, false.

Pipelining allows clients to send multiple requests across a persistent connection without waiting for each response from the server. The server sends the responses in the same order as the requests were received.

Pipelining is described in detail in IETF RFC 2616 section 8.1.2.2.

The following code example displays the value of this property.

if ( sp->Certificate == nullptr )
   Console::WriteLine( "Certificate = (null)" );
else
   Console::WriteLine( "Certificate = {0}", sp->Certificate );

if ( sp->ClientCertificate == nullptr )
   Console::WriteLine( "Client Certificate = (null)" );
else
   Console::WriteLine( "Client Certificate = {0}", sp->ClientCertificate );

Console::WriteLine( "ProtocolVersion = {0}", sp->ProtocolVersion->ToString() );
Console::WriteLine( "SupportsPipelining = {0}", sp->SupportsPipelining );


if (sp.get_Certificate() == null) {
    Console.WriteLine("Certificate = (null)");
}
else {
    Console.WriteLine(("Certificate = " 
        + sp.get_Certificate().ToString()));
}

if (sp.get_ClientCertificate() == null) {
    Console.WriteLine("ClientCertificate = (null)");
}
else {
    Console.WriteLine(("ClientCertificate = " 
        + sp.get_ClientCertificate().ToString()));
}
Console.WriteLine(("ProtocolVersion = " 
    + sp.get_ProtocolVersion().ToString()));
Console.WriteLine(("SupportsPipelining = " 
    + sp.get_SupportsPipelining()));

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft