ManagementCommitAttribute Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Namespace: System.Management
Assembly: System.Core (in System.Core.dll)
Marks a class method that is called after all the properties of a class are updated. The properties of a class are marked with the ManagementConfiguration attribute. If a class has multiple configuration properties that are all updated together, the class should have a method that is marked with the ManagementCommit attribute. The marked function is not thread safe.
Assembly: System.Core (in System.Core.dll)
[C#]
public class Process
{
/// Key attribute marks a key property. Keys are not changeable.
/// Keys have to be unique information.
[ManagementKey]
public int Id
{
get { }
}
/// ManagementConfiguration stands for read/write manageable
/// property from a read/write field.
[ManagementConfiguration]
public string UserDefinedString;
[ManagementCommit]
void SaveOnDevice();
}
System.Object
System.Attribute
System.Management.ManagementMemberAttribute
System.Management.ManagementCommitAttribute
System.Attribute
System.Management.ManagementMemberAttribute
System.Management.ManagementCommitAttribute
Show: