Click or drag to resize
OperationContractAttribute Class
Indicates that a method defines an operation that is part of a service contract in a Windows Communication Foundation (WCF) application.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    System.ServiceModelOperationContractAttribute

Namespace: System.ServiceModel
Assembly: CSharpXamlForHtml5.System.ServiceModel.dll (in CSharpXamlForHtml5.System.ServiceModel.dll.dll) Version: 1.0.0.0
Syntax
C#
public sealed class OperationContractAttribute : Attribute

The OperationContractAttribute type exposes the following members.

Constructors
  NameDescription
Public methodOperationContractAttribute
Initializes a new instance of the System.ServiceModel.OperationContractAttribute class.
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyAction
Gets or sets the WS-Addressing action of the request message.
Public propertyAsyncPattern
Indicates that an operation is implemented asynchronously using a Begin<methodName> and End<methodName> method pair in a service contract.
Public propertyIsOneWay
Gets or sets a value that indicates whether an operation returns a reply message.
Public propertyName
Gets or sets the name of the operation.
Public propertyReplyAction
Gets or sets the value of the SOAP action for the reply message of the operation.
Top
See Also