Class ResourceLoaderAmbiguousPathException
Exception thrown when a partial resource path matches more than one resource in the target assembly.
Implements
Inherited Members
Namespace: Firefly.EmbeddedResourceLoader.Exceptions
Assembly: Firefly.EmbeddedResourceLoader.dll
Syntax
[Serializable]
public class ResourceLoaderAmbiguousPathException : ResourceLoaderPathException, ISerializable
Constructors
| Improve this Doc View SourceResourceLoaderAmbiguousPathException()
Initializes a new instance of the ResourceLoaderAmbiguousPathException class.
Declaration
public ResourceLoaderAmbiguousPathException()
ResourceLoaderAmbiguousPathException(SerializationInfo, StreamingContext)
Initializes a new instance of the ResourceLoaderAmbiguousPathException class.
Declaration
protected ResourceLoaderAmbiguousPathException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The info. |
| StreamingContext | context | The context. |
ResourceLoaderAmbiguousPathException(String)
Initializes a new instance of the ResourceLoaderAmbiguousPathException class.
Declaration
public ResourceLoaderAmbiguousPathException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message. |
ResourceLoaderAmbiguousPathException(String, Exception)
Initializes a new instance of the ResourceLoaderAmbiguousPathException class.
Declaration
public ResourceLoaderAmbiguousPathException(string message, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The message. |
| Exception | inner | The inner. |
ResourceLoaderAmbiguousPathException(String, Assembly)
Initializes a new instance of the ResourceLoaderAmbiguousPathException class.
Declaration
public ResourceLoaderAmbiguousPathException(string resourcePath, Assembly containingAssembly)
Parameters
| Type | Name | Description |
|---|---|---|
| String | resourcePath | The resource path. |
| Assembly | containingAssembly | The containing assembly. |
Properties
| Improve this Doc View SourceMessage
Gets a message that describes the current exception.
Declaration
public override string Message { get; }
Property Value
| Type | Description |
|---|---|
| String | The error message that explains the reason for the exception, or an empty string(""). |