This collection of OperationMessage objects is used by the Messages property of the Operation class. You can access each OperationMessage element by position (index number).
public sealed class OperationMessageCollection : ServiceDescriptionBaseCollection { // Public Instance Properties public OperationFlow Flow{get; } public OperationInput Input{get; } public OperationOutput Output{get; } public OperationMessage this[int index]{set; get; } // Public Instance Methods public int Add(OperationMessage operationMessage); public bool Contains(OperationMessage operationMessage); public void CopyTo(OperationMessage[ ] array, int index); public int IndexOf(OperationMessage operationMessage); public void Insert(int index, OperationMessage operationMessage); public void Remove(OperationMessage operationMessage); // Protected Instance Methods protected override void OnInsert(int index, object value); // overrides System.Collections.CollectionBase protected override void OnSet(int index, object oldValue, object newValue); // overrides ServiceDescriptionBaseCollection protected override void OnValidate(object value); // overrides System.Collections.CollectionBase protected override void SetParent(object value, object parent); // overrides ServiceDescriptionBaseCollection }