IVsCommonMessagePumpFactory.CreateInstance(IVsCommonMessagePump) 方法

定义

创建服务的实例 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 服务。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

适用于