ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 281
نمايش فراداده

OperationMessageCollection

System.Web.Services.Description (system.web.services.dll)sealed class

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 }

Hierarchy

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

Returned By

Operation.Messages