共用方式為


IDebugPortPicker::SetSite

Sets the service provider.

HRESULT SetSite(
   IServiceProvider * pSP
);
public int SetSite(
   IServiceProvider pSP
);

Parameters

  • pSP
    [in] Reference to the interface of the service provider.

Return Value

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

Remarks

This method will be called before any other methods are called.

See Also

Reference

IDebugPortPicker