EndpointAddressElementBase.InitializeFrom(EndpointAddress) 方法
定义
使用指定终结点地址的内容初始化此终结点地址。Initializes this endpoint address with the content of the specified endpoint address.
public:
void InitializeFrom(System::ServiceModel::EndpointAddress ^ endpointAddress);
public void InitializeFrom (System.ServiceModel.EndpointAddress endpointAddress);
member this.InitializeFrom : System.ServiceModel.EndpointAddress -> unit
Public Sub InitializeFrom (endpointAddress As EndpointAddress)
参数
- endpointAddress
- EndpointAddress
一个终结点地址。An endpoint address.
例外
endpointAddress 为 null 或空。endpointAddress is null or empty.