DynamicImageInstance.CreateExceptionImage Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Creates memory stream that represents the bitmap image of the specified exception.
Namespace: Microsoft.ReportingServices.OnDemandReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)
Syntax
'Declaration
Protected Function CreateExceptionImage ( _
exception As Exception _
) As MemoryStream
'Usage
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
Parameters
- exception
Type: System.Exception
The object used to create the exception image.
Return Value
Type: System.IO.MemoryStream
A memory stream that represents exception image.
See Also
Reference
Microsoft.ReportingServices.OnDemandReportRendering Namespace