EndpointAddress.ToString 方法

定义

返回终结点地址中包含的 URI 的规范字符串表示形式。Returns a canonical string representation of the URI that is contained in the endpoint address.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

返回

String

标识终结点的 URI。The URI that identifies the endpoint.

示例

string URIstring = endpointAddress.ToString();

适用于