MethodContext class (methodco.h)

[The MethodContext class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]

The MethodContext class is the pointer to a structure used in a provider to get or set IWbemClassObject information. WMI does not implement any functionality based on the pointer.

MethodContext has these types of members:

Method Description
GetStatusObject Gets an internal pointer to IWbemClassObject information. WMI does not implement any functionality based on the pointer.
SetStatusObject Sets an internal pointer to IWbemClassObject information. WMI does not implement any functionality based on the pointer.

Inheritance

The MethodContext class implements CThreadBase.

Methods

The MethodContext class has these methods.

 
MethodContext::GetStatusObject

The GetStatusObject method gets an internal pointer to IWbemClassObject information. WMI does not implement any functionality based on the pointer.
MethodContext::SetStatusObject

The SetStatusObject method sets an internal pointer to IWbemClassObject information. WMI does not implement any functionality based on the pointer.

Remarks

The destructor for this class is MethodContext::~MethodContext.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header methodco.h

See also

Provider Framework Utility Classes