ServiceContractAttribute Class |
Namespace: System.ServiceModel
public sealed class ServiceContractAttribute : Attribute
The ServiceContractAttribute type exposes the following members.
Name | Description | |
---|---|---|
ServiceContractAttribute |
Initializes a new instance of the System.ServiceModel.ServiceContractAttribute
class.
|
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
CallbackContract |
Gets or sets the type of callback contract when the contract is a duplex
contract.
| |
ConfigurationName |
The name used to locate the service element in an application configuration
file. The default is the name of the service implementation class.
| |
Name | Gets or sets the name for the <portType> element in Web Services Description Language (WSDL). | |
Namespace | Gets or sets the namespace of the <portType> element in Web Services Description Language (WSDL). |