MSFT_WmiProvider_PutClassAsyncEvent_Post class
The MSFT_WmiProvider_PutClassAsyncEvent_Post event class represents an event generated immediately following completion of the provider's implementation of IWbemServices::PutClassAsync.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.
Syntax
[AMENDMENT]
class MSFT_WmiProvider_PutClassAsyncEvent_Post : Msft_WmiProvider_OperationEvent_Post
{
uint8 SECURITY_DESCRIPTOR[];
uint64 TIME_CREATED;
String TransactionIdentifer;
object ClassObject;
uint32 Flags;
string HostingGroup;
uint32 HostingSpecification;
string Locale;
string Namespace;
object ObjectParameter;
string Provider;
uint32 ResultCode;
string StringParameter;
string TransactionIdentifier;
string User;
};
Members
The MSFT_WmiProvider_PutClassAsyncEvent_Post class has these types of members:
Properties
The MSFT_WmiProvider_PutClassAsyncEvent_Post class has these properties.
-
ClassObject
-
-
Data type: object
-
Access type: Read-only
Class definition.
-
-
Flags
-
-
Data type: uint32
-
Access type: Read-only
One or more of the following values are valid.
-
-
WBEM_FLAG_USE_AMENDED_QUALIFIERS
-
If this flag is set, WMI does not store any qualifiers with the amended flavor. If this flag is not set, it is assumed that this object is not localized, and all qualifiers are stored with this instance.
-
WBEM_FLAG_CREATE_OR_UPDATE
-
This flag causes this class to be created if it does not exist or be overwritten if it exists already.
-
WBEM_FLAG_UPDATE_ONLY
-
Updates an existing class.
-
WBEM_FLAG_CREATE_ONLY
-
This flag is for class creation only. The call fails if the class already exists.
-
WBEM_FLAG_SEND_STATUS
-
This flag registers with WMI a request to receive intermediate status reports through the client's implementation of IWbemObjectSink::SetStatus.
-
WBEM_FLAG_OWNER_UPDATE
-
Push providers must specify this flag when calling PutClassAsync to indicate that this class has changed.
-
WBEM_FLAG_UPDATE_COMPATIBLE
-
This flag allows a class to be updated if there are no derived classes and there are no instances for that class. It also allows updates in all cases if the change is just to non-important qualifiers (for example, the Description qualifier). This is the default behavior for this call and is used for compatibility with previous versions of WMI. If the class has instances or changes are to important qualifiers, the update fails.
-
WBEM_FLAG_UPDATE_SAFE_MODE
-
This flag allows updates of classes even if there are child classes, as long as the change does not cause any conflicts with child classes. An example of an update this flag would allow would be to add a new property to the base class that was not previously mentioned in any of the child classes. If the class has instances, the update fails.
-
WBEM_FLAG_UPDATE_FORCE_MODE
-
This flag forces updates of classes when conflicting child classes exist. An example of an update this flag would force would be if a class qualifier were defined in a child class, and the base class tried to add the same qualifier which conflicted with the existing one. In force mode, this conflict would be resolved by deleting the conflicting qualifier in the child class.
HostingGroup
-
Data type: string
-
Access type: Read-only
Second component of the __Win32Provider HostingModel property when the hosting model is one of "LocalSystemHost", "LocalSystemHostOrSelfHost", "NetworkServiceHost", or "LocalServiceHost". The hosting group defines a particular instantiation of a WMI provider host. Providers that share the same hosting model and hosting group share the same surrogate process.
This property is inherited from Msft_WmiProvider_OperationEvent
HostingSpecification
-
Data type: uint32
-
Access type: Read-only
The first component of the __Win32Provider HostingModel property. For the possible values of this property, see the HostingSpecification property in the MSFT_Providers class.
This property is inherited from Msft_WmiProvider_OperationEvent
Locale
-
Data type: string
-
Access type: Read-only
Particular instantiation of a provider instance when the provider is configured for per local initialization.
This property is inherited from Msft_WmiProvider_OperationEvent
Namespace
-
Data type: string
-
Access type: Read-only
Namespace associated with a particular provider instance.
This property is inherited from Msft_WmiProvider_OperationEvent
ObjectParameter
-
Data type: object
-
Access type: Read-only
Extended status passed through provider's IWbemObjectSink::SetStatus call, possible NULL.
Provider
-
Data type: string
-
Access type: Read-only
Name associated with a particular provider instance. The name is identical to the __Win32Provider property.
This property is inherited from Msft_WmiProvider_OperationEvent
ResultCode
-
Data type: uint32
-
Access type: Read-only
HRESULT status code of the operation.
SECURITY_DESCRIPTOR
-
Data type: uint8 array
-
Access type: Read-only
Descriptor that the event provider uses to determine which users can receive the event. For more information, see WMI Security Constants.
This property is inherited from __Event.
StringParameter
-
Data type: string
-
Access type: Read-only
This property is currently always NULL.
TIME_CREATED
-
Data type: uint64
-
Access type: Read-only
Unique value that indicates the time the event is generated. This is a 64-bit value that represents the number of 100-nanosecond intervals after January 1, 1601. The information is in the Coordinated Universal Time (UTC) format.
For more information about using uint64 values in scripts, see Scripting in WMI.
This property is inherited from __Event.
TransactionIdentifer
-
Data type: String
-
Access type: Read-only
The TransactionIdentifer property is for internal use, currently always empty.
This property is inherited from Msft_WmiProvider_OperationEvent.
TransactionIdentifier
-
Data type: string
-
Access type: Read-only
Internal use only. The current value is "{00000000-0000-0000-0000-000000000000}".
This property is inherited from Msft_WmiProvider_OperationEvent
User
-
Data type: string
-
Access type: Read-only
Particular provider instance, configured for per user initialization.
This property is inherited from Msft_WmiProvider_OperationEvent
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\CIMV2 |
MOF |
|
DLL |
|