DynamicImageInstance.CreateExceptionImage 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Creates memory stream that represents the bitmap image of the specified exception.

命名空间:  Microsoft.ReportingServices.OnDemandReportRendering
程序集:  Microsoft.ReportingServices.ProcessingCore(在 Microsoft.ReportingServices.ProcessingCore.dll 中)

语法

声明
Protected Function CreateExceptionImage ( _
    exception As Exception _
) As MemoryStream
用法
Dim exception As Exception 
Dim returnValue As MemoryStream 

returnValue = Me.CreateExceptionImage(exception)
protected MemoryStream CreateExceptionImage(
    Exception exception
)
protected:
MemoryStream^ CreateExceptionImage(
    Exception^ exception
)
member CreateExceptionImage : 
        exception:Exception -> MemoryStream
protected function CreateExceptionImage(
    exception : Exception
) : MemoryStream

参数

  • exception
    类型:System.Exception
    The object used to create the exception image.

返回值

类型:System.IO.MemoryStream
A memory stream that represents exception image.

请参阅

参考

DynamicImageInstance 类

Microsoft.ReportingServices.OnDemandReportRendering 命名空间