The Labs \ Source Viewer \ SSCLI \ System.Runtime.Serialization.Formatters \ ISoapMessage

  1. // ==++==
  2. //
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. //
  14. // ==--==
  15. /*============================================================
  16. **
  17. ** Class: ISoapMessage
  18. **
  19. **
  20. ** Purpose: Interface For Soap Method Call
  21. **
  22. **
  23. ===========================================================*/
  24. namespace System.Runtime.Serialization.Formatters
  25. {
  26.    
  27.     using System.Runtime.Remoting;
  28.     using System.Runtime.Serialization;
  29.     using System.Runtime.Remoting.Messaging;
  30.     using System;
  31.     // Used to specify a call record to either the binary or xml serializer
  32.     // The call record can be transmitted as the SOAP Top record which contains
  33.     // a method name instead of an object name as the Top record's element name
  34.     [System.Runtime.InteropServices.ComVisible(true)]
  35.     public interface ISoapMessage
  36.     {
  37.         // Name of parameters, if null the default param names will be used
  38.        
  39.         string[] ParamNames {
  40.             get;
  41.             set;
  42.         }
  43.        
  44.         // Parameter Values
  45.         object[] ParamValues {
  46.             get;
  47.             set;
  48.         }
  49.        
  50.         // Parameter Types
  51.         Type[] ParamTypes {
  52.             get;
  53.             set;
  54.         }
  55.        
  56.         // MethodName
  57.         string MethodName {
  58.             get;
  59.             set;
  60.         }
  61.        
  62.         // MethodName XmlNameSpace
  63.         string XmlNameSpace {
  64.             get;
  65.             set;
  66.         }
  67.        
  68.         // Headers
  69.         Header[] Headers {
  70.             get;
  71.             set;
  72.         }
  73.     }
  74. }

Developer Fusion