Share via


WriteErrorException Class

Definition

The write-error cmdlet uses WriteErrorException when the user only specifies a string and not an Exception or ErrorRecord.

public ref class WriteErrorException : SystemException
[System.Serializable]
public class WriteErrorException : SystemException
public class WriteErrorException : SystemException
[<System.Serializable>]
type WriteErrorException = class
    inherit SystemException
type WriteErrorException = class
    inherit SystemException
Public Class WriteErrorException
Inherits SystemException
Inheritance
WriteErrorException
Attributes

Constructors

WriteErrorException()

Initializes a new instance of the WriteErrorException class.

WriteErrorException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the WriteErrorException class for serialization.

WriteErrorException(String, Exception)

Initializes a new instance of the WriteErrorException class.

WriteErrorException(String)

Initializes a new instance of the WriteErrorException class.

Applies to