Ανάγνωση στα Αγγλικά Επεξεργασία

Κοινή χρήση μέσω


ManagementObject.Put Method

Definition

Commits the changes to the object.

Overloads

Put()

Commits the changes to the object.

Put(ManagementOperationObserver)

Commits the changes to the object, asynchronously.

Put(PutOptions)

Commits the changes to the object.

Put(ManagementOperationObserver, PutOptions)

Commits the changes to the object asynchronously and using the specified options.

Put()

Source:
ManagementObject.cs
Source:
ManagementObject.cs
Source:
ManagementObject.cs

Commits the changes to the object.

C#
public System.Management.ManagementPath Put();

Returns

A ManagementPath containing the path to the committed object.

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

.NET 10 (package-provided) και άλλες εκδόσεις
Προϊόν Εκδόσεις
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

Put(ManagementOperationObserver)

Source:
ManagementObject.cs
Source:
ManagementObject.cs
Source:
ManagementObject.cs

Commits the changes to the object, asynchronously.

C#
public void Put(System.Management.ManagementOperationObserver watcher);

Parameters

watcher
ManagementOperationObserver

A ManagementOperationObserver used to handle the progress and results of the asynchronous operation.

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

.NET 10 (package-provided) και άλλες εκδόσεις
Προϊόν Εκδόσεις
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

Put(PutOptions)

Source:
ManagementObject.cs
Source:
ManagementObject.cs
Source:
ManagementObject.cs

Commits the changes to the object.

C#
public System.Management.ManagementPath Put(System.Management.PutOptions options);

Parameters

options
PutOptions

The options for how to commit the changes.

Returns

A ManagementPath containing the path to the committed object.

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

.NET 10 (package-provided) και άλλες εκδόσεις
Προϊόν Εκδόσεις
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

Put(ManagementOperationObserver, PutOptions)

Source:
ManagementObject.cs
Source:
ManagementObject.cs
Source:
ManagementObject.cs

Commits the changes to the object asynchronously and using the specified options.

C#
public void Put(System.Management.ManagementOperationObserver watcher, System.Management.PutOptions options);

Parameters

watcher
ManagementOperationObserver

A ManagementOperationObserver used to handle the progress and results of the asynchronous operation.

options
PutOptions

A PutOptions used to specify additional options for the commit operation.

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

.NET 10 (package-provided) και άλλες εκδόσεις
Προϊόν Εκδόσεις
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)