Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function CallWithCOMConvention ( _
method As Func(Of Integer), _
reportError As Boolean _
) As Integer
public static int CallWithCOMConvention(
Func<int> method,
bool reportError
)
public:
static int CallWithCOMConvention(
Func<int>^ method,
bool reportError
)
static member CallWithCOMConvention :
method:Func<int> *
reportError:bool -> int
public static function CallWithCOMConvention(
method : Func<int>,
reportError : boolean
) : int
Parameters
- method
Type: Func<Int32>
- reportError
Type: Boolean
Return Value
Type: 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.