IDebugExpressionEvaluator2::GetService

Retrieves a service object given its unique identifier.

Syntax

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