DeleteOptions Constructor (ManagementNamedValueCollection, TimeSpan)

 

Initializes a new instance of the DeleteOptions class for a delete operation, using the specified values.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

public DeleteOptions(
	ManagementNamedValueCollection context,
	TimeSpan timeout
)

Parameters

context
Type: System.Management.ManagementNamedValueCollection

A provider-specific, named-value pairs object to be passed through to the provider.

timeout
Type: System.TimeSpan

The length of time to let the operation perform before it times out. The default value is MaxValue. Setting this parameter will invoke the operation semisynchronously.

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 1.1
Return to top
Show: