WindowsServiceElement::Copy Method (WindowsServiceElement^)

 

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

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
void Copy(
	WindowsServiceElement^ from
)

Parameters

from
Type: System.ServiceModel.Configuration::WindowsServiceElement^

The configuration element to be copied.

Exception Condition
ArgumentNullException

from is null.

ConfigurationErrorsException

The configuration file is read-only.

.NET Framework
Available since 3.0
Return to top
Show: