System.Web.Services.Description (system.web.services.dll) | sealed class |
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 sealed class MessageCollection : ServiceDescriptionBaseCollection {
// Public Instance Properties
public Message this[string name]{get; }
public Message this[int index]{set; get; }
// Public Instance Methods
public int Add(Message message);
public bool Contains(Message message);
public void CopyTo(Message[ ] array, int index);
public int IndexOf(Message message);
public void Insert(int index, Message message);
public void Remove(Message message);
// Protected Instance Methods
protected override string GetKey(object value); // overrides ServiceDescriptionBaseCollection
protected override void SetParent(object value, object parent); // overrides ServiceDescriptionBaseCollection
}
Hierarchy
System.Object
System.Collections.CollectionBase(System.Collections.IList,
System.Collections.ICollection,
System.Collections.IEnumerable)
ServiceDescriptionBaseCollection
MessageCollection
Returned By
ProtocolReflector.HeaderMessages,
ServiceDescription.Messages