Share via


ErrorHandler.CallWithCOMConvention Method (Action, Boolean)

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Shared Function CallWithCOMConvention ( _
    method As Action, _
    reportError As Boolean _
) As Integer
public static int CallWithCOMConvention(
    Action method,
    bool reportError
)
public:
static int CallWithCOMConvention(
    Action^ method, 
    bool reportError
)
static member CallWithCOMConvention : 
        method:Action * 
        reportError:bool -> int
public static function CallWithCOMConvention(
    method : Action, 
    reportError : boolean
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

ErrorHandler Class

CallWithCOMConvention Overload

Microsoft.VisualStudio Namespace