Class BehaviorsNotFoundException
An exception that is thrown when a problem occurs find behaviors.
Implements
Inherited Members
Namespace: SpiceSharp
Assembly: SpiceSharp.dll
Syntax
[Serializable]
public class BehaviorsNotFoundException : SpiceSharpException, ISerializable
Constructors
BehaviorsNotFoundException()
Initializes a new instance of the BehaviorsNotFoundException class.
Declaration
public BehaviorsNotFoundException()
BehaviorsNotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the TypeNotFoundException class.
Declaration
protected BehaviorsNotFoundException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The serialization info. |
StreamingContext | context | The streaming context. |
BehaviorsNotFoundException(string)
Initializes a new instance of the BehaviorsNotFoundException class.
Declaration
public BehaviorsNotFoundException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message that describes the error. |
BehaviorsNotFoundException(string, Exception)
Initializes a new instance of the BehaviorsNotFoundException class.
Declaration
public BehaviorsNotFoundException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
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 (Nothing in Visual Basic) if no inner exception is specified. |
BehaviorsNotFoundException(string, string)
Initializes a new instance of the BehaviorsNotFoundException class.
Declaration
public BehaviorsNotFoundException(string name, string message)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the behavior container. |
string | message | The message. |
BehaviorsNotFoundException(string, string, Exception)
Initializes a new instance of the BehaviorsNotFoundException class.
Declaration
public BehaviorsNotFoundException(string name, string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the behavior container. |
string | message | The message. |
Exception | innerException | The inner exception. |
Properties
Name
Gets the name of the behaviors.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string | The name. |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Populates a SerializationInfo with the data needed to serialize the target object.
Declaration
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The serialization info |
StreamingContext | context | The streaming context |