VirtualPathExtension.Attach(ServiceHostBase) 方法

定义

提供此方法以支持 Windows Communication Foundation (WCF) 基础结构。This method is provided to support the Windows Communication Foundation (WCF) infrastructure.

public:
 virtual void Attach(System::ServiceModel::ServiceHostBase ^ owner);
public void Attach (System.ServiceModel.ServiceHostBase owner);
abstract member Attach : System.ServiceModel.ServiceHostBase -> unit
override this.Attach : System.ServiceModel.ServiceHostBase -> unit
Public Sub Attach (owner As ServiceHostBase)

参数

owner
ServiceHostBase

使用虚拟路径的 ServiceHostBaseThe ServiceHostBase using the virtual path.

实现

注解

此方法支持 WCF 基础结构,不应在代码中直接调用。This method supports the WCF infrastructure and is not intended to be called directly from your code.

适用于