指定された内部例外と、例外が予期しないものかどうかを示すフラグを使用して、ReportRenderingException クラスの新しいインスタンスを作成します。
名前空間: Microsoft.ReportingServices.OnDemandReportRendering
アセンブリ: Microsoft.ReportingServices.ProcessingCore (Microsoft.ReportingServices.ProcessingCore.dll)
構文
'宣言
Public Sub New ( _
innerException As Exception, _
unexpected As Boolean _
)
'使用
Dim innerException As Exception
Dim unexpected As Boolean
Dim instance As New ReportRenderingException(innerException, _
unexpected)
public ReportRenderingException(
Exception innerException,
bool unexpected
)
public:
ReportRenderingException(
Exception^ innerException,
bool unexpected
)
new :
innerException:Exception *
unexpected:bool -> ReportRenderingException
public function ReportRenderingException(
innerException : Exception,
unexpected : boolean
)
パラメーター
- innerException
型: System.Exception
現在の例外の原因になった Exception オブジェクト。
- unexpected
型: System.Boolean
例外が予期しないものであることを示す場合は true、それ以外の場合は false を返します。