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. (继承自 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. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |