UITestException.SetHResult(UInt32) Methode

Definition

Wichtig

Diese API ist nicht CLS-kompatibel.

Legt das entsprechende HRESULT für diese Ausnahme fest.

protected:
 void SetHResult(System::UInt32 hResult);
[System.CLSCompliant(false)]
protected void SetHResult (uint hResult);
[<System.CLSCompliant(false)>]
member this.SetHResult : uint32 -> unit
Protected Sub SetHResult (hResult As UInteger)

Parameter

hResult
UInt32

Der HRESULT-Wert.

Attribute

Gilt für