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.
Sets the corresponding HRESULT for this exception.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Protected Sub SetHResult ( _
hResult As UInteger _
)
[CLSCompliantAttribute(false)]
protected void SetHResult(
uint hResult
)
[CLSCompliantAttribute(false)]
protected:
void SetHResult(
unsigned int hResult
)
[<CLSCompliantAttribute(false)>]
member SetHResult :
hResult:uint32 -> unit
protected function SetHResult(
hResult : uint
)
Parameters
hResult
Type: UInt32The HRESULT value.
.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.