Name

MessageCollection

Synopsis

This collection of Message objects is used by the Messages property of the ServiceDescription class to represent all <message> elements in a WSDL document. You can access an invidual Message by name or position (index number).

Public NotInheritable Class MessageCollection : Inherits ServiceDescriptionBaseCollection
' Public Instance Properties
   Public Default ReadOnly Property Item(
        ByVal name As String) As Message  
   Public Default Property Item(
        ByVal index As Integer) As Message  
' Public Instance Methods
   Public Function Add(ByVal message As Message) As Integer  
   Public Function Contains(
        ByVal message As Message) As Boolean  
   Public Sub CopyTo(ByVal array As Message(), 
        ByVal index As Integer) 
   Public Function IndexOf(
        ByVal message As Message) As Integer  
   Public Sub Insert(ByVal index As Integer, 
        ByVal message As Message) 
   Public Sub Remove(ByVal message As Message) 
' Protected Instance Methods
   Overrides Protected Function GetKey(
        ByVal value As Object) As String  
   Overrides Protected Sub SetParent(ByVal value As Object, 
        ByVal parent As Object) 
End Class

Hierarchy

System.Object System.Collections.CollectionBase(System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable)ServiceDescriptionBaseCollection MessageCollection

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.