CrystalImageCleaner.Stop Method

Stops the thread that handles the image deletion process and removes the CrystalImageCleaner instance that exists in the Web application state.

Namespace CrystalDecisions.Web Assembly CrystalDecisions.Web (CrystalDecisions.Web.dll)

Syntax

'Declaration
Public Shared Sub Stop ( _
    ByVal application As System.Web.HttpApplicationState _  
) 
public static void Stop (
    System.Web.HttpApplicationState application
)

Parameters

  • application
    The state of the ASP.NET application.

Example

This example shows how to stop the CrystalImageCleaner. The application is set to myHttpContext.Application.

'Declaration

    Private Sub StopCrystalImageCleaner(ByVal myHttpContext As HttpContext)
      CrystalImageCleaner.Stop(myHttpContext.Application)
    End Sub
    private void StopCrystalImageCleaner(System.Web.HttpContext httpContext)
    {
      CrystalImageCleaner.Stop(httpContext.Application);
    }

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports .NET 9

See Also

Reference

CrystalImageCleaner Class
CrystalImageCleaner Members
CrystalDecisions.Web Namespace