Freigeben über


IDebugExpressionEvaluator2::GetService

Retrieves a service object given its unique identifier.

HRESULT GetService (
   GUID        uid,
   IUnknown ** ppService
);
int GetService (
   Guid       uid,
   out object ppService
);

Parameters

  • uid
    [in] Unique identifier of the service to retrieve.

  • ppService
    [out] Returns an object that represents the service.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

This can be consumed by a third-party expression evaluator to obtain services from another expression evaluator. For example, this method could be used to obtain the interface for the visualizer service from the default expression evaluator. Third-party expression evaluators are unlikely to need to implement this interface.

See Also

Reference

IDebugExpressionEvaluator2