Click or drag to resize

ResourceLoaderGetResource Method (String)

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Returns an IResource that has been mapped to the protocol of the supplied resourceName.

Namespace:  Tangosol.IO.Resources
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static IResource GetResource(
	string resourceName
)

Parameters

resourceName
Type: SystemString
The name of the resource.

Return Value

Type: IResource
A new IResource instance for the supplied resourceName.
Exceptions
ExceptionCondition
UriFormatException If an IResource type mapping does not exist for the supplied resourceName.
Exception In the case of any errors arising from the instantiation of the returned IResource instance.
See Also