ErrorHandler.CallWithCOMConvention Method (Func)
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Dichiarazione
Public Shared Function CallWithCOMConvention ( _
method As Func _
) As Integer
'Utilizzo
Dim method As Func
Dim returnValue As Integer
returnValue = ErrorHandler.CallWithCOMConvention(method)
public static int CallWithCOMConvention(
Func method
)
public:
static int CallWithCOMConvention(
Func^ method
)
static member CallWithCOMConvention :
method:Func -> int
public static function CallWithCOMConvention(
method : Func
) : int
Parameters
- method
Type: System.Func<TResult>
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.