Editar

Compartir a través de


DeleteOptions Constructors

Definition

Initializes a new instance of the DeleteOptions class for the delete operation.

Overloads

DeleteOptions()

Initializes a new instance of the DeleteOptions class for the delete operation, using default values. This is the parameterless constructor.

DeleteOptions(ManagementNamedValueCollection, TimeSpan)

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

DeleteOptions()

Source:
ManagementOptions.cs
Source:
ManagementOptions.cs
Source:
ManagementOptions.cs
Source:
ManagementOptions.cs

Initializes a new instance of the DeleteOptions class for the delete operation, using default values. This is the parameterless constructor.

public:
 DeleteOptions();
public DeleteOptions ();
Public Sub New ()

Remarks

.NET Framework Security

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.

Applies to

DeleteOptions(ManagementNamedValueCollection, TimeSpan)

Source:
ManagementOptions.cs
Source:
ManagementOptions.cs
Source:
ManagementOptions.cs
Source:
ManagementOptions.cs

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

public:
 DeleteOptions(System::Management::ManagementNamedValueCollection ^ context, TimeSpan timeout);
public DeleteOptions (System.Management.ManagementNamedValueCollection context, TimeSpan timeout);
new System.Management.DeleteOptions : System.Management.ManagementNamedValueCollection * TimeSpan -> System.Management.DeleteOptions
Public Sub New (context As ManagementNamedValueCollection, timeout As TimeSpan)

Parameters

context
ManagementNamedValueCollection

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

timeout
TimeSpan

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

Remarks

.NET Framework Security

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.

Applies to