PipeException.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Channels / PipeException.cs / 1 / PipeException.cs

                            //------------------------------------------------------------ 
// 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; }
        }
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK