WCF Contract Attribute

[Service Contract]

  Name Description
Public property CallbackContract Gets or sets the type of callback contract when the contract is a duplex contract.
Public property ConfigurationName Gets or sets the name used to locate the service in an application configuration file.
Public property HasProtectionLevel Gets a value that indicates whether the member has a protection level assigned.
Public property Name Gets or sets the name for the <portType> element in Web Services Description Language (WSDL).
Public property Namespace Gets or sets the namespace of the <portType> element in Web Services Description Language (WSDL).
Public property ProtectionLevel Specifies whether the binding for the contract must support the value of the ProtectionLevel property.
Public property SessionMode Gets or sets whether sessions are allowed, not allowed or required.
Public property TypeId  (Inherited from Attribute)



[Operation Contract]

 

  Name Description
Public property Action Gets or sets the WS-Addressing action of the request message.
Public property AsyncPattern Indicates that an operation is implemented asynchronously using a Begin<methodName> and End<methodName> method pair in a service contract.
Public property HasProtectionLevel Gets a value that indicates whether the messages for this operation must be encrypted, signed, or both.
Public property 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).
Public property IsOneWay Gets or sets a value that indicates whether an operation returns a reply message.
Public property 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.
Public property Name Gets or sets the name of the operation.
Public property ProtectionLevel Gets or sets a value that specifies whether the messages of an operation must be encrypted, signed, or both.
Public property ReplyAction Gets or sets the value of the SOAP action for the reply message of the operation.
Public property TypeId  (Inherited from Attribute)

chaoskcuf
프로그래밍/MSDN 2007/07/10 23:04

트랙백 주소 : http://chaoskcuf.com/trackback/100

댓글을 달아 주세요

Powerd by Textcube, designed by criuce
rss