SupportsPipelining Property

ServicePoint.SupportsPipelining Property

Indicates whether the ServicePoint supports pipelined connections.

[Visual Basic]
Public ReadOnly Property SupportsPipelining As Boolean
public bool SupportsPipelining {get;}
public: __property bool get_SupportsPipelining();
public function get SupportsPipelining() : Boolean;

Property Value

true if the ServicePoint 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


[Visual Basic, C#, C++] The following example displays the value of this property.

[Visual Basic] 
If sp.Certificate Is Nothing Then
    Console.WriteLine("Certificate = (null)")
    Console.WriteLine(("Certificate = " + sp.Certificate.ToString()))
End If

If sp.ClientCertificate Is Nothing Then
    Console.WriteLine("ClientCertificate = (null)")
    Console.WriteLine(("ClientCertificate = " + sp.ClientCertificate.ToString()))
End If

Console.WriteLine("ProtocolVersion = " + sp.ProtocolVersion.ToString())
Console.WriteLine(("SupportsPipelining = " + sp.SupportsPipelining.ToString()))

if (sp.Certificate == null)
    Console.WriteLine ("Certificate = (null)");
    Console.WriteLine ("Certificate = " + sp.Certificate.ToString ());

if (sp.ClientCertificate == null)
    Console.WriteLine ("ClientCertificate = (null)");
    Console. WriteLine ("ClientCertificate = " + sp.ClientCertificate.ToString ());

Console.WriteLine ("ProtocolVersion = " + sp.ProtocolVersion.ToString ());
Console.WriteLine ("SupportsPipelining = " + sp.SupportsPipelining);

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

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

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

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

ServicePoint Class | ServicePoint Members | System.Net Namespace

© 2015 Microsoft