获取或设置 HRESULT,它是分配给特定异常的编码数值。
命名空间: Microsoft.VisualStudio.TemplateWizard
程序集: Microsoft.VisualStudio.TemplateWizardInterface(在 Microsoft.VisualStudio.TemplateWizardInterface.dll 中)
语法
声明
Protected Property HResult As Integer
Get
Set
protected int HResult { get; set; }
protected:
property int HResult {
int get ();
void set (int value);
}
member HResult : int with get, set
function get HResult () : int
function set HResult (value : int)
属性值
类型:System.Int32
HRESULT 值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。