e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
43 lines
970 B
C#
43 lines
970 B
C#
//------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------
|
|
|
|
namespace System.IO
|
|
{
|
|
using System.Runtime.Serialization;
|
|
|
|
[Serializable]
|
|
public class PipeException : IOException
|
|
{
|
|
public PipeException()
|
|
: base()
|
|
{
|
|
}
|
|
|
|
public PipeException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
public PipeException(string message, int errorCode)
|
|
: base(message, errorCode)
|
|
{
|
|
}
|
|
|
|
public PipeException(string message, Exception inner)
|
|
: base(message, inner)
|
|
{
|
|
}
|
|
|
|
protected PipeException(SerializationInfo info, StreamingContext context)
|
|
: base(info, context)
|
|
{
|
|
}
|
|
|
|
public virtual int ErrorCode
|
|
{
|
|
get { return this.HResult; }
|
|
}
|
|
}
|
|
}
|