WriteErrorException Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

The exception thrown by the Write-Error cmdlet when an error occurs while writing the error to the error stream. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.

Namespace:   Microsoft.PowerShell.Commands
Assembly:  Microsoft.PowerShell.Commands.Utility (in Microsoft.PowerShell.Commands.Utility.dll)

System.Object
  System.Exception
    System.SystemException
      Microsoft.PowerShell.Commands.WriteErrorException

[SerializableAttribute]
public class WriteErrorException : SystemException

NameDescription
System_CAPS_pubmethodWriteErrorException()

Creates a new WriteErrorException object that is empty.

System_CAPS_protmethodWriteErrorException(SerializationInfo, StreamingContext)

Creates a new WriteErrorException object that contains information read from the provided serialization information.

System_CAPS_pubmethodWriteErrorException(String)

Creates a new WriteErrorException object that contains an exception message.

System_CAPS_pubmethodWriteErrorException(String, Exception)

Creates a new WriteErrorException object that contains an exception message and the inner exception that caused this exception to be thrown.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

(Inherited from Exception.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

(Inherited from Exception.)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Exception.)

NameDescription
System_CAPS_proteventSerializeObjectState

(Inherited from Exception.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: