WildcardPatternException Constructor

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Initializes a new instance of the WildcardPatternException class. The variants of this constructor can create an empty object, an object that contains an exception message, and more.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

NameDescription
System_CAPS_pubmethodWildcardPatternException()

Initializes a new instance of the WildcardPatternException class that is empty.

System_CAPS_protmethodWildcardPatternException(SerializationInfo, StreamingContext)

Initializes a new instance of the WildcardPatternException class that contains information that is read from the provided serialization information.

System_CAPS_pubmethodWildcardPatternException(String)

Initializes a new instance of the WildcardPatternException class that contains an exception message.

System_CAPS_pubmethodWildcardPatternException(String, Exception)

Initializes a new instance of the WildcardPatternException class that contains an exception message and the specific exception that caused this exception to be thrown.

Return to top

Community Additions

ADD
Show: