IdentityElement.InitializeFrom(EndpointIdentity) 方法
定义
使用指定对象的内容初始化此配置元素。Initializes this configuration element with the content of the specified object.
public:
void InitializeFrom(System::ServiceModel::EndpointIdentity ^ identity);
public void InitializeFrom (System.ServiceModel.EndpointIdentity identity);
member this.InitializeFrom : System.ServiceModel.EndpointIdentity -> unit
Public Sub InitializeFrom (identity As EndpointIdentity)
参数
- identity
- EndpointIdentity
终结点标识。The endpoint identity.
例外
identity 为 null 或空。identity is null or empty.