共用方式為


AmoException 建構函式 (String, Exception)

Initializes a new instance of the AmoException class with message text and inner exception.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'用途
Dim message As String 
Dim innerException As Exception 

Dim instance As New AmoException(message, _
    innerException)
public AmoException(
    string message,
    Exception innerException
)
public:
AmoException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> AmoException
public function AmoException(
    message : String, 
    innerException : Exception
)

參數

  • message
    型別:System.String
    The message text that describes the event that caused the exception.
  • innerException
    型別:System.Exception
    The inner exception that is the cause of the current exception.

請參閱

參考

AmoException 類別

AmoException 多載

Microsoft.AnalysisServices 命名空間