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()
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 |