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.Merge |
mergeMode | The mergeMode of the input that caused the exception. |
InvalidKeyException()
New Invalid Key Exception
Declaration
public InvalidKeyException()
InvalidKeyException(string)
New Invalid Key Exception
Declaration
public InvalidKeyException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Exception message |
InvalidKeyException(string, Exception)
New Invalid Key Exception
Declaration
public InvalidKeyException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | Exception message |
Exception | innerException | Inner exception that caused the problem |
InvalidKeyException(SerializationInfo, StreamingContext)
New Invalid Key Exception
Declaration
protected InvalidKeyException(SerializationInfo message, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
Serialization |
message | Exception message |
Streaming |
context | Streaming context being used when exception was thrown |