.NET Framework Class Library
OperationContractAttribute Properties

The OperationContractAttribute type exposes the following members.

Properties

  NameDescription
Public propertyActionGets or sets the WS-Addressing action of the request message.
Public propertyAsyncPatternIndicates that an operation is implemented asynchronously using a Begin<methodName> and End<methodName> method pair in a service contract.
Public propertyHasProtectionLevelGets a value that indicates whether the messages for this operation must be encrypted, signed, or both.
Public propertyIsInitiatingGets or sets a value that indicates whether the method implements an operation that can initiate a session on the server (if such a session exists).
Public propertyIsOneWayGets or sets a value that indicates whether an operation returns a reply message.
Public propertyIsTerminatingGets or sets a value that indicates whether the service operation causes the server to close the session after the reply message, if any, is sent.
Public propertyNameGets or sets the name of the operation.
Public propertyProtectionLevelGets or sets a value that specifies whether the messages of an operation must be encrypted, signed, or both.
Public propertyReplyActionGets or sets the value of the SOAP action for the reply message of the operation.
Public propertyTypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Top
See Also

Reference

Tags :


Page view tracker