Freigeben über


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

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsCommonMessagePumpFactory Interface

Microsoft.VisualStudio.Shell.Interop Namespace