共用方式為


ExceptionMessageBox.InnerException 屬性

Gets or sets the Exception instance associated with the lower-level message(s).

命名空間:  Microsoft.SqlServer.MessageBox
組件:  Microsoft.ExceptionMessageBox (在 Microsoft.ExceptionMessageBox.dll 中)

語法

'宣告
Public Property InnerException As Exception 
    Get 
    Set
'用途
Dim instance As ExceptionMessageBox 
Dim value As Exception 

value = instance.InnerException

instance.InnerException = value
public Exception InnerException { get; set; }
public:
property Exception^ InnerException {
    Exception^ get ();
    void set (Exception^ value);
}
member InnerException : Exception with get, set
function get InnerException () : Exception 
function set InnerException (value : Exception)

屬性值

型別:System.Exception
An Exception object.

備註

The default value is nullnull 參考 (在 Visual Basic 中為 Nothing).

請參閱

參考

ExceptionMessageBox 類別

Microsoft.SqlServer.MessageBox 命名空間