Constructor InvalidKeyException
InvalidKeyException(object)
Construct a new InvalidKeyException.
선언
public InvalidKeyException(object key)
파라미터
타입 | 이름 | 설명 |
---|---|---|
object | key | The key that caused the exception. |
InvalidKeyException(object, Type)
Construct a new InvalidKeyException.
선언
public InvalidKeyException(object key, Type type)
파라미터
타입 | 이름 | 설명 |
---|---|---|
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.
선언
public InvalidKeyException(object key, Type type, Addressables.MergeMode mergeMode)
파라미터
타입 | 이름 | 설명 |
---|---|---|
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.
선언
public InvalidKeyException()
InvalidKeyException(string)
Initializes a new instance of the Exception class with a specified error message.
선언
public InvalidKeyException(string message)
파라미터
타입 | 이름 | 설명 |
---|---|---|
string | message | The message that describes the error. |
InvalidKeyException(string, Exception)
Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
선언
public InvalidKeyException(string message, Exception innerException)
파라미터
타입 | 이름 | 설명 |
---|---|---|
string | message | The error message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception, or a null reference ( |
InvalidKeyException(SerializationInfo, StreamingContext)
Initializes a new instance of the Exception class with serialized data.
선언
protected InvalidKeyException(SerializationInfo message, StreamingContext context)
파라미터
타입 | 이름 | 설명 |
---|---|---|
SerializationInfo | message | |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
예외
타입 | 조건 |
---|---|
ArgumentNullException | The |
SerializationException |