Show / Hide Table of Contents

Class ParameterNotFoundException

Exception thrown when a parameter cannot be found.

Inheritance
object
Exception
SpiceSharpException
ParameterNotFoundException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: SpiceSharp.Diagnostics
Assembly: SpiceSharp.dll
Syntax
[Serializable]
public class ParameterNotFoundException : SpiceSharpException, ISerializable

Constructors

ParameterNotFoundException()

Initializes a new instance of the ParameterNotFoundException class.

Declaration
public ParameterNotFoundException()

ParameterNotFoundException(object, string, Type)

Initializes a new instance of the ParameterNotFoundException class.

Declaration
public ParameterNotFoundException(object source, string name, Type type)
Parameters
Type Name Description
object source

The source.

string name

The name.

Type type

The type.

ParameterNotFoundException(object, Type)

Initializes a new instance of the ParameterNotFoundException class.

Declaration
public ParameterNotFoundException(object source, Type type)
Parameters
Type Name Description
object source

The source.

Type type

The type.

ParameterNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the ParameterNotFoundException class.

Declaration
protected ParameterNotFoundException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The serialization info.

StreamingContext context

The streaming context.

ParameterNotFoundException(string)

Initializes a new instance of the ParameterNotFoundException class.

Declaration
public ParameterNotFoundException(string message)
Parameters
Type Name Description
string message

The message that describes the error.

ParameterNotFoundException(string, Exception)

Initializes a new instance of the ParameterNotFoundException class.

Declaration
public ParameterNotFoundException(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.

Properties

ParameterName

Gets the name of the parameter.

Declaration
public string ParameterName { get; }
Property Value
Type Description
string

The name of the parameter.

ParameterType

Gets the type of the parameter.

Declaration
public virtual Type ParameterType { get; }
Property Value
Type Description
Type

The type of the parameter.

ParameterizedObject

Gets the source.

Declaration
public virtual object ParameterizedObject { get; }
Property Value
Type Description
object

The source.

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

Overrides
Exception.GetObjectData(SerializationInfo, StreamingContext)

Implements

ISerializable

Extension Methods

Utility.ThrowIfNull<T>(T, string)

See Also

SpiceSharpException
In this article
Back to top Generated by DocFX