System.Web.IPartitionResolver.Initialize Method

Initializes the custom partition resolver.


public void Initialize ()


Use the IPartitionResolver.Initialize method to provide any initialization code that is needed for your custom partition resolution. The System.Web.SessionState.SessionStateModule creates the type implementing the System.Web.IPartitionResolver interface, calls the IPartitionResolver.Initialize method to initialize it (once per instance), and then indicates to the ASP.NET state service or SQL Server provider that partitioning is being used and passes a resolver instance to the provider.


Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: