ErrorHandler.CallWithCOMConvention Method (Action)
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Dichiarazione
Public Shared Function CallWithCOMConvention ( _
method As Action _
) As Integer
'Utilizzo
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
- method
Type: System.Action
Return Value
Type: System.Int32
.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.