This documentation is archived and is not being maintained.

ServiceContractAttribute Properties

The ServiceContractAttribute type exposes the following members.

  NameDescription
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 When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Top
Show: