IVsCommonMessagePumpFactory.CreateInstance(IVsCommonMessagePump) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建服务的实例 IVsCommonMessagePump 。
public:
int CreateInstance([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePump ^ % ppIVsCommonMessagePump);
public:
int CreateInstance([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePump ^ & ppIVsCommonMessagePump);
int CreateInstance([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePump const & & ppIVsCommonMessagePump);
public int CreateInstance (out Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump ppIVsCommonMessagePump);
abstract member CreateInstance : IVsCommonMessagePump -> int
Public Function CreateInstance (ByRef ppIVsCommonMessagePump As IVsCommonMessagePump) As Integer
参数
- ppIVsCommonMessagePump
- IVsCommonMessagePump
弄 IVsCommonMessagePump 服务。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。