Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ResourceHandlerRegistry.IsHandlerRegistered Method

Returns true if a handler is registered for the specified protocol, false otherwise.

[Visual Basic]
Public Shared Sub IsHandlerRegistered( _
   ByVal protocolName As String _
)
[C#]
public static bool IsHandlerRegistered(
   string protocolName
);

Parameters

protocolName
Name of the protocol.

Return Value

true if a handler is registered for the specified protocol, false otherwise.

Exceptions

Exception Type Condition
ArgumentNullException If protocolName is null.

See Also

ResourceHandlerRegistry Class | Spring.Core.IO Namespace