Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.ServiceModel Namespace
Please Wait
OperationContractAttribute Class
Please Wait
OperationContractAttribute Properti...
Please Wait
Switch on low bandwidth view
Collapse All
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2008/.Net Framework 3.5
Other versions are also available for the following:
.NET Framework 3.0
Microsoft Silverlight 3
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library
OperationContractAttribute Properties
The
OperationContractAttribute
type exposes the following members.
Properties
Name
Description
Action
Gets or sets the WS-Addressing action of the request message.
AsyncPattern
Indicates that an operation is implemented asynchronously using a
Begin
<
methodName
> and
End
<
methodName
> method pair in a service contract.
HasProtectionLevel
Gets a value that indicates whether the messages for this operation must be encrypted, signed, or both.
IsInitiating
Gets 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).
IsOneWay
Gets or sets a value that indicates whether an operation returns a reply message.
IsTerminating
Gets 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.
Name
Gets or sets the name of the operation.
ProtectionLevel
Gets or sets a value that specifies whether the messages of an operation must be encrypted, signed, or both.
ReplyAction
Gets or sets the value of the SOAP action for the reply message of the operation.
TypeId
When implemented in a derived class, gets a unique identifier for this
Attribute
.
(Inherited from
Attribute
.)
Top
See Also
Reference
OperationContractAttribute Class
System.ServiceModel Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement