WindowsServiceElement.Copy(WindowsServiceElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The configuration element to be copied.
Exceptions
from
is null
.
The configuration file is read-only.