SoapMessage.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Runtime / Serialization / Formatters / SoapMessage.cs / 1 / SoapMessage.cs

                            // ==++== 
//
//   Copyright (c) Microsoft Corporation.  All rights reserved.
//
// ==--== 
/*============================================================
 ** 
 ** Class: SoapMessage 
 **
 ** 
 ** Purpose: Interface For Soap Method Call
 **
 **
 ===========================================================*/ 

namespace System.Runtime.Serialization.Formatters { 
    using System.Runtime.Remoting; 
    using System.Runtime.Remoting.Messaging;
    using System.Runtime.Serialization; 
    using System;
    // Class is used to return the call object for a SOAP call.
    // This is used when the top SOAP object is a fake object, it contains
    // a method name as the element name instead of the object name. 
   [Serializable()]
[System.Runtime.InteropServices.ComVisible(true)] 
    public class SoapMessage : ISoapMessage 
    {
        internal String[] paramNames; 
        internal Object[] paramValues;
        internal Type[] paramTypes;
        internal String methodName;
        internal String xmlNameSpace; 
        internal Header[] headers;
 
        // Name of parameters, if null the default param names will be used 
        public String[] ParamNames
        { 
            get {return paramNames;}
            set {paramNames = value;}
        }
 
        // Parameter Values
        public Object[] ParamValues 
        { 
            get {return paramValues;}
            set {paramValues = value;} 
        }

        public Type[] ParamTypes
        { 
            get {return paramTypes;}
            set {paramTypes = value;} 
        } 

        // MethodName 
        public String MethodName
        {
            get {return methodName;}
            set {methodName = value;} 
        }
 
        // MethodName XmlNameSpace 
        public String XmlNameSpace
        { 
            get {return xmlNameSpace;}
            set {xmlNameSpace = value;}
        }
 
        // Headers
        public Header[] Headers 
        { 
            get {return headers;}
            set {headers = value;} 
        }


    } 
}
                        

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