編輯

共用方式為


WindowsServiceElement.Copy(WindowsServiceElement) Method

Definition

Copies the content of the specified configuration element to this configuration element.

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)

Parameters

from
WindowsServiceElement

The configuration element to be copied.

Exceptions

from is null.

The configuration file is read-only.

Applies to