[This is preliminary documentation and subject to change.]
The DIWbemServices.GetObjectAsync method asynchronously retrieves an object, either a class definition or instance, based on the object's path. This is similar to DIWbemServices.GetObject, except that the call returns immediately. and the object is provided to the supplied object sink.
Currently, this method retrieves objects only from the namespace associated with DIWbemServices .
DIWbemServices.GetObjectAsync( [in] ObjectPath
As String,
[in]
lFlags
As Long,
[in]
pCtx
As Object,
[in]
pResponseHandler
As Object) As Long
WBEM_E_FAILED | Other error codes return asynchronously to the DIWbemObjectSink. |
WBEM_E_INVALID_PARAMETER | An invalid parameter was specified, or the namespace could not be parsed. |
WBEM_E_INVALID_PATH | The specified object path was invalid. |
WBEM_NO_ERROR | Success. |
For more information on return values see Visual Basic error handeling and return values
Asynchronous Methods, Class Creation, DIWbemServices.GetObject, Object Paths