Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Causes the LocalReport object to release its reference to the sandboxed application ___domain immediately.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)
Syntax
'Declaration
Public Sub ReleaseSandboxAppDomain
'Usage
Dim instance As LocalReport
instance.ReleaseSandboxAppDomain
public void ReleaseSandboxAppDomain ()
public:
void ReleaseSandboxAppDomain ()
public void ReleaseSandboxAppDomain ()
public function ReleaseSandboxAppDomain ()
Remarks
In local processing mode, the report viewer loads the expression host assembly into either the current application ___domain or a sandboxed application ___domain based on the .NET Framework version (see ExecuteReportInSandboxAppDomain). The sandboxed application ___domain is shared by multiple instances of the LocalReport class. By default, LocalReport causes the application ___domain to expire after a set time to reclaim memory.
Use this method to force the LocalReport object to release its reference to the sandboxed application ___domain immediately and help reduce the time it takes for memory to be reclaimed.
If the LocalReport object requires the sandboxed application ___domain after the sandboxed application ___domain has already expired, the LocalReport object will create a new one.
See Also
Reference
LocalReport Class
LocalReport Members
Microsoft.Reporting.WebForms Namespace