共用方式為


ErrorHandler.CallWithCOMConvention Method (Action)

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

Syntax

'宣告
Public Shared Function CallWithCOMConvention ( _
    method As Action _
) As Integer
'用途
Dim method As Action
Dim returnValue As Integer

returnValue = ErrorHandler.CallWithCOMConvention(method)
public static int CallWithCOMConvention(
    Action method
)
public:
static int CallWithCOMConvention(
    Action^ method
)
static member CallWithCOMConvention : 
        method:Action -> int 
public static function CallWithCOMConvention(
    method : Action
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

ErrorHandler Class

ErrorHandler Members

CallWithCOMConvention Overload

Microsoft.VisualStudio Namespace