Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ContextRegistry.RegisterContext Method

Registers an instance of an IApplicationContext.

[Visual Basic]
Public Shared Sub RegisterContext( _
   ByVal context As IApplicationContext _
)
[C#]
public static void RegisterContext(
   IApplicationContext context
);

Parameters

context
The application context to be registered.

Remarks

This is usually called via a ContextHandler inside a .NET application configuration file.

Exceptions

Exception Type Condition
ApplicationContextException If a context has previously been registered using the same name

See Also

ContextRegistry Class | Spring.Context.Support Namespace