WindowsServiceElement.Copy(WindowsServiceElement) 方法

定义

将指定配置元素的内容复制到此配置元素。

public:
 void Copy(System::ServiceModel::Configuration::WindowsServiceElement ^ from);
public void Copy (System.ServiceModel.Configuration.WindowsServiceElement from);
member this.Copy : System.ServiceModel.Configuration.WindowsServiceElement -> unit
Public Sub Copy (from As WindowsServiceElement)

参数

from
WindowsServiceElement

要复制的配置元素。

例外

fromnull

配置文件是只读的。

适用于