Edit

Share via


NetTcpBinding.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

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

Examples

This example shows how to get the Scheme value.

string scheme = binding.Scheme;

Remarks

The property is provided to validate bindings against base addresses.

Applies to