WindowsClientElement.Copy(WindowsClientElement) 方法

定义

将指定配置元素的内容复制到此配置元素。Copies the content of the specified configuration element to this configuration element.

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

参数

from
WindowsClientElement

要复制的配置元素。The configuration element to be copied.

例外

fromnullfrom is null.

配置文件是只读的。The configuration file is read-only.

适用于