Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 ServiceContractAttribute Members
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
ServiceContractAttribute Members

Indicates that an interface or a class defines a service contract in a Windows Communication Foundation (WCF) application.

The ServiceContractAttribute type exposes the following members.

  NameDescription
Public methodServiceContractAttributeInitializes a new instance of the ServiceContractAttribute class.
Top
  NameDescription
Public methodEqualsInfrastructure. Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.)
Protected methodFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from Attribute.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
Public methodMatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
Public propertyCallbackContractGets or sets the type of callback contract when the contract is a duplex contract.
Public propertyConfigurationNameGets or sets the name used to locate the service in an application configuration file.
Public propertyHasProtectionLevelGets a value that indicates whether the member has a protection level assigned.
Public propertyNameGets or sets the name for the <portType> element in Web Services Description Language (WSDL).
Public propertyNamespaceGets or sets the namespace of the <portType> element in Web Services Description Language (WSDL).
Public propertyProtectionLevelSpecifies whether the binding for the contract must support the value of the ProtectionLevel property.
Public propertySessionModeGets or sets whether sessions are allowed, not allowed or required.
Public propertyTypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Top
  NameDescription
Explicit interface implemetationPrivate method_Attribute..::.GetIDsOfNamesMaps a set of names to a corresponding set of dispatch identifiers. (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute..::.GetTypeInfoRetrieves the type information for an object, which can be used to get the type information for an interface. (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute..::.GetTypeInfoCountRetrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from Attribute.)
Explicit interface implemetationPrivate method_Attribute..::.InvokeProvides access to properties and methods exposed by an object. (Inherited from Attribute.)
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker