IVsCommonMessagePumpFactory.CreateInstance Method
Creates an instance of the IVsCommonMessagePump service.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function CreateInstance ( _
<OutAttribute> ByRef ppIVsCommonMessagePump As IVsCommonMessagePump _
) As Integer
int CreateInstance(
out IVsCommonMessagePump ppIVsCommonMessagePump
)
int CreateInstance(
[OutAttribute] IVsCommonMessagePump^% ppIVsCommonMessagePump
)
abstract CreateInstance :
ppIVsCommonMessagePump:IVsCommonMessagePump byref -> int
function CreateInstance(
ppIVsCommonMessagePump : IVsCommonMessagePump
) : int
Parameters
- ppIVsCommonMessagePump
Type: Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump%
[out] The IVsCommonMessagePump service.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.