Constructor RuntimeException
RuntimeException(String)
Declaration
public RuntimeException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
RuntimeException(String, Exception)
Declaration
public RuntimeException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException |
RuntimeException()
Declaration
public RuntimeException()
RuntimeException(SerializationInfo, StreamingContext)
Initializes a new instance of this class with serialized data.
Declaration
protected RuntimeException(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. |