Constructor InvalidShapeException
InvalidShapeException(String)
Declaration
public InvalidShapeException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
InvalidShapeException(String, Exception)
Declaration
public InvalidShapeException(string reason, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | |
System.Exception | exception |
InvalidShapeException()
Declaration
public InvalidShapeException()
InvalidShapeException(SerializationInfo, StreamingContext)
Initializes a new instance of this class with serialized data.
Declaration
protected InvalidShapeException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |