ServiceMetadataExtension.IExtension<ServiceHostBase>.Attach 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
讓物件能夠參與自訂的行為。 在執行階段將延伸附加到 ServiceHostBase 類別的執行個體時呼叫。 僅供內部使用。
virtual void System.ServiceModel.IExtension<System.ServiceModel.ServiceHostBase>.Attach(System::ServiceModel::ServiceHostBase ^ owner) = System::ServiceModel::IExtension<System::ServiceModel::ServiceHostBase ^>::Attach;
void IExtension<ServiceHostBase>.Attach (System.ServiceModel.ServiceHostBase owner);
abstract member System.ServiceModel.IExtension<System.ServiceModel.ServiceHostBase>.Attach : System.ServiceModel.ServiceHostBase -> unit
override this.System.ServiceModel.IExtension<System.ServiceModel.ServiceHostBase>.Attach : System.ServiceModel.ServiceHostBase -> unit
Sub Attach (owner As ServiceHostBase) Implements IExtension(Of ServiceHostBase).Attach
參數
- owner
- ServiceHostBase