ParameterBindingException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The exception thrown if the specified value can not be bound parameter of a command.
public ref class ParameterBindingException : System::Management::Automation::RuntimeException
[System.Serializable]
public class ParameterBindingException : System.Management.Automation.RuntimeException
public class ParameterBindingException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type ParameterBindingException = class
inherit RuntimeException
type ParameterBindingException = class
inherit RuntimeException
Public Class ParameterBindingException
Inherits RuntimeException
- Inheritance
- Attributes
Constructors
ParameterBindingException() |
Constructs a ParameterBindingException. |
ParameterBindingException(SerializationInfo, StreamingContext) |
Obsolete.
Constructors a ParameterBindingException using serialized data. |
ParameterBindingException(String, Exception) |
Constructs a ParameterBindingException. |
ParameterBindingException(String) |
Constructors a ParameterBindingException. |
Properties
CommandInvocation |
Gets the invocation information about the command. |
ErrorId |
Gets the errorId of this ParameterBindingException. |
ErrorRecord |
Additional information about the error. (Inherited from RuntimeException) |
Line |
Gets the line in the script at which the error occurred. |
Message |
Gets the message for the exception. |
Offset |
Gets the offset on the line in the script at which the error occurred. |
ParameterName |
Gets the name of the parameter that the parameter binding error was encountered on. |
ParameterType |
Gets the type the parameter is expecting. |
TypeSpecified |
Gets the Type that was specified as the parameter value. |
WasThrownFromThrowStatement | (Inherited from RuntimeException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Serializes the exception. |
GetObjectData(SerializationInfo, StreamingContext) |
Serializer for ISerializable (Inherited from RuntimeException) |