Class InvalidSpecificationException
An invalid specification exception.
Inheritance
System.Object
InvalidSpecificationException
Namespace: OpenGraphNet
Assembly: OpenGraphNet.dll
Syntax
public class InvalidSpecificationException : Exception
Constructors
InvalidSpecificationException()
Initializes a new instance of the InvalidSpecificationException class.
Declaration
public InvalidSpecificationException()
InvalidSpecificationException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidSpecificationException class.
Declaration
protected InvalidSpecificationException(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | serializationInfo | The serialization information. |
System.Runtime.Serialization.StreamingContext | streamingContext | The streaming context. |
InvalidSpecificationException(String)
Initializes a new instance of the InvalidSpecificationException class.
Declaration
public InvalidSpecificationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
InvalidSpecificationException(String, Exception)
Initializes a new instance of the InvalidSpecificationException class.
Declaration
public InvalidSpecificationException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |