Muokkaa

Jaa


__MethodInvocationEvent class

The __MethodInvocationEvent system class is defined but is not implemented.

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

class __MethodInvocationEvent : __InstanceOperationEvent
{
  string       Method;
  __Parameters Parameters;
  boolean      PreCall;
  uint8        SECURITY_DESCRIPTOR[];
  object       TargetInstance;
  uint64       TIME_CREATED;
};

Members

The __MethodInvocationEvent class has these types of members:

Properties

The __MethodInvocationEvent class has these properties.

Method

Data type: string

Access type: Read-only

Method invoked to trigger the event.

Parameters

Data type: __Parameters

Access type: Read-only

Reference to an instance that represents the input and output parameters of the method call.

PreCall

Data type: boolean

Access type: Read-only

If TRUE, the event is raised before the method is called.

SECURITY_DESCRIPTOR

Data type: uint8 array

Access type: Read-only

Descriptor used by the event provider to determine which users can receive the event. This property is inherited from __Event. For more information, see Security Descriptors.

TargetInstance

Data type: object

Access type: Read-only

Instance the method is invoked on. This property is inherited from __InstanceOperationEvent.

TIME_CREATED

Data type: uint64

Access type: Read-only

Unique value that indicates the time an 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. This property is inherited from __Event.

For more information about using uint64 values in scripts, see Scripting in WMI.

Remarks

The __MethodInvocationEvent class is derived from __InstanceOperationEvent.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
All WMI namespaces

See also

__InstanceOperationEvent

WMI System Classes