ExceptionHelperTrySetLastError Method |
Sets the last error encountered by the current engine session.
Namespace:
Dundas.BI.WebApi
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (8.0.2.1001)
Syntaxpublic static void TrySetLastError(
HttpContext httpContext,
Exception exception
)
Public Shared Sub TrySetLastError (
httpContext As HttpContext,
exception As Exception
)
public:
static void TrySetLastError(
HttpContext^ httpContext,
Exception^ exception
)
static member TrySetLastError :
httpContext : HttpContext *
exception : Exception -> unit
Parameters
- httpContext
- Type: System.WebHttpContext
The HTTP context. - exception
- Type: SystemException
The exception.
See Also