ComUtilities.WrapExecHResult Method
Wrapper for the execution result.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Sub WrapExecHResult ( _
hr As Integer _
)
'Usage
Dim hr As Integer
ComUtilities.WrapExecHResult(hr)
public static void WrapExecHResult(
int hr
)
public:
static void WrapExecHResult(
int hr
)
public static function WrapExecHResult(
hr : int
)
static member WrapExecHResult :
hr:int -> unit
Parameters
- hr
Type: System.Int32
The failed HRESULT
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace