ResourceRegistryRegisterHandler Method |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Registers resource handler for a specified protocol.
Namespace:
Tangosol.IO.Resources
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
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