Endpoint 類別

定義

表示在 XAML 中宣告的端點。Represents an endpoint declared in XAML.

public ref class Endpoint
public class Endpoint
type Endpoint = class
Public Class Endpoint
繼承
Endpoint

建構函式

Endpoint()

建立 Endpoint 類別的新執行個體。Creates a new instance of the Endpoint class.

屬性

AddressUri

取得或設定端點的 URI。Gets or sets the endpoint's URI.

BehaviorConfigurationName

取得或設定行為組態名稱。Gets or sets the behavior configuration name.

Binding

取得或設定端點的繫結。Gets or sets the binding for the endpoint.

Headers

取得端點的位址標題集合。Gets the address headers collection for the endpoint.

Identity

取得或設定端點的端點識別。Gets or sets the endpoint identity for the endpoint.

ListenUri

取得或設定端點的接聽 URI。Gets or sets the listen URI for the endpoint.

Name

取得或設定端點名稱。Gets or sets the endpoint name.

ServiceContractName

取得或設定服務合約的名稱。Gets or sets the service contract name.

方法

Equals(Object)

Determines whether the specified object is equal to the current object.Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetAddress()

取得端點的位址。Gets the address of the endpoint.

GetAddress(ServiceHostBase)

使用指定的 ServiceHostBase 執行個體取得端點的位址。Gets the address of the endpoint using the specified ServiceHostBase instance.

GetHashCode()

Serves as the default hash function.Serves as the default hash function.

(繼承來源 Object)
GetType()

Gets the Type of the current instance.Gets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

Creates a shallow copy of the current Object.Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

Returns a string that represents the current object.Returns a string that represents the current object.

(繼承來源 Object)

適用於