HttpRequestExtensionsTrySetLastError 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 (25.3.0.1000)
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: Microsoft.AspNetCore.HttpHttpContext
The HTTP context. - exception
 - Type: SystemException
The exception. 
See Also