ResourceRegistryRegisterHandler Method |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Registers resource handler for a specified protocol.
Namespace:
Tangosol.IO.Resources
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic static void RegisterHandler(
string protocolName,
Type handlerType
)
Parameters
- protocolName
- Type: SystemString
The name of the protocol to register handler for.
- handlerType
- Type: SystemType
Resource handler type to use for the specified protocol.
Exceptions| Exception | Condition |
|---|
| ArgumentException |
If the specified type does not have a constructor that
accepts a single argument of String type.
|
See Also