Constructor InvalidKeyException
InvalidKeyException(object)
Construct a new InvalidKeyException.
Declaration
public InvalidKeyException(object key)
Parameters
Type | Name | Description |
---|---|---|
object | key | The key that caused the exception. |
InvalidKeyException(object, Type)
Construct a new InvalidKeyException.
Declaration
public InvalidKeyException(object key, Type type)
Parameters
Type | Name | Description |
---|---|---|
object | key | The key that caused the exception. |
Type | type | The type of the key that caused the exception. |
InvalidKeyException(object, Type, MergeMode)
Construct a new InvalidKeyException.
Declaration
public InvalidKeyException(object key, Type type, Addressables.MergeMode mergeMode)
Parameters
Type | Name | Description |
---|---|---|
object | key | The key that caused the exception. |
Type | type | The type of the key that caused the exception. |
Addressables.MergeMode | mergeMode | The mergeMode of the input that caused the exception. |
InvalidKeyException()
Exception to encapsulate invalid key errors.
Declaration
public InvalidKeyException()
InvalidKeyException(string)
Declaration
public InvalidKeyException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
InvalidKeyException(string, Exception)
Declaration
public InvalidKeyException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
Exception | innerException |
InvalidKeyException(SerializationInfo, StreamingContext)
Declaration
protected InvalidKeyException(SerializationInfo message, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | message | |
StreamingContext | context |