TcpTransportBindingElement.Scheme Property

Definition

Returns the URI scheme for the transport.

public:
 virtual property System::String ^ Scheme { System::String ^ get(); };
public override string Scheme { get; }
member this.Scheme : string
Public Overrides ReadOnly Property Scheme As String

Property Value

Returns the URI scheme for the transport, which is "net.tcp".

Examples

The following example shows how to get the URI scheme for the transport.

string scheme = bElement.Scheme;

Remarks

The property is provided for validating bindings against base addresses.

Applies to