共用方式為


IVsServiceInfoQueryService.GetServiceInfo(Guid, IVsServiceInfo) Method

Definition

public:
 int GetServiceInfo(Guid % ServiceGuid, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsServiceInfo ^ % ppServiceInfo);
public int GetServiceInfo (ref Guid ServiceGuid, out Microsoft.VisualStudio.Shell.Interop.IVsServiceInfo ppServiceInfo);
abstract member GetServiceInfo : Guid * IVsServiceInfo -> int
Public Function GetServiceInfo (ByRef ServiceGuid As Guid, ByRef ppServiceInfo As IVsServiceInfo) As Integer

Parameters

ServiceGuid
Guid

The GUID of the service.

ppServiceInfo
IVsServiceInfo

[out] The service.

Returns

The HRESULT.

Remarks

This method is safe to access from any thread.

Applies to