NetTcpBinding.Scheme 属性

定义

返回传输的 URI 方案。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

属性值

传输的 URI 方案“net.tcp”。The URI scheme for the transport, which is "net.tcp".

示例

此示例演示如何获取 Scheme 值。This example shows how to get the Scheme value.

string scheme = binding.Scheme;

注解

该属性用于对基址验证绑定。The property is provided to validate bindings against base addresses.

适用于