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

G. andrew Duthie; matthew Macdonald

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

Operation

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

This class represents the WSDL <operation> element. It describes an operation, which consists of one or more OperationMessage objects. In a WSDL document, an <operation> element exists for every method in your web service. (Actually, there will be three copies of this set of operation elements: one for each different type of transmission, contained in differently named <portType> elements.)

Every operation is associated with exactly one OperationInput and one OperationOutput object.

public sealed class 

Operation : DocumentableItem { // Public Constructors public

Operation ( ); // Public Instance Properties public OperationFaultCollection

Faults {get; } public OperationMessageCollection

Messages {get; } public string

Name {set; get; } public string[ ]

ParameterOrder {set; get; } public string

ParameterOrderString {set; get; } public PortType

PortType {get; } // Public Instance Methods public bool

IsBoundBy (OperationBinding

operationBinding ); }

Hierarchy

System.Object DocumentableItem Operation

Returned By

OperationCollection.this, OperationMessage.Operation, ProtocolImporter.Operation, ProtocolReflector.Operation

Passed To

OperationCollection.{Add( ), Contains( ), CopyTo( ), IndexOf( ), Insert( ), Remove( ), this}