Header.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Runtime / Remoting / Header.cs / 1 / Header.cs

                            // ==++== 
//
//   Copyright (c) Microsoft Corporation.  All rights reserved.
//
// ==--== 
/*============================================================
** 
** File:    Header.cs 
**
** 
** Purpose: Defines the out-of-band data for a call
**
**
** 
===========================================================*/
namespace System.Runtime.Remoting.Messaging{ 
 	using System.Runtime.Remoting; 
	using System;
    [Serializable] 
[System.Runtime.InteropServices.ComVisible(true)]
    public class Header
    {
        public Header (String _Name, Object _Value) 

            : this(_Name, _Value, true) { 
        } 
        public Header (String _Name, Object _Value, bool _MustUnderstand)
        { 
            Name = _Name;
            Value = _Value;
            MustUnderstand = _MustUnderstand;
        } 

        public Header (String _Name, Object _Value, bool _MustUnderstand, String _HeaderNamespace) 
        { 
            Name = _Name;
            Value = _Value; 
            MustUnderstand = _MustUnderstand;
            HeaderNamespace = _HeaderNamespace;
        }
 
        public String    Name;
        public Object    Value; 
        public bool   MustUnderstand; 

        public String HeaderNamespace; 
    }
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++== 
//
//   Copyright (c) Microsoft Corporation.  All rights reserved.
//
// ==--== 
/*============================================================
** 
** File:    Header.cs 
**
** 
** Purpose: Defines the out-of-band data for a call
**
**
** 
===========================================================*/
namespace System.Runtime.Remoting.Messaging{ 
 	using System.Runtime.Remoting; 
	using System;
    [Serializable] 
[System.Runtime.InteropServices.ComVisible(true)]
    public class Header
    {
        public Header (String _Name, Object _Value) 

            : this(_Name, _Value, true) { 
        } 
        public Header (String _Name, Object _Value, bool _MustUnderstand)
        { 
            Name = _Name;
            Value = _Value;
            MustUnderstand = _MustUnderstand;
        } 

        public Header (String _Name, Object _Value, bool _MustUnderstand, String _HeaderNamespace) 
        { 
            Name = _Name;
            Value = _Value; 
            MustUnderstand = _MustUnderstand;
            HeaderNamespace = _HeaderNamespace;
        }
 
        public String    Name;
        public Object    Value; 
        public bool   MustUnderstand; 

        public String HeaderNamespace; 
    }
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.

                        

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