Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 ServiceBehaviorAttribute 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
ServiceBehaviorAttribute Members

Specifies the internal execution behavior of a service contract implementation.

The ServiceBehaviorAttribute type exposes the following members.

  NameDescription
Public methodServiceBehaviorAttributeInitializes a new instance of the ServiceBehaviorAttribute 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 methodGetWellKnownSingletonRetrieves an object that implements the service and that is used as the singleton instance of the service, or nullNothingnullptra null reference (Nothing in Visual Basic) if there is no singleton instance.
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 methodSetWellKnownSingletonSpecifies an object that implements the service and that is used as the singleton instance of the service.
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
Public propertyAddressFilterModeGets or sets the AddressFilterMode that is used by the dispatcher to route incoming messages to the correct endpoint.
Public propertyAutomaticSessionShutdownSpecifies whether to automatically close a session when a client closes an output session.
Public propertyConcurrencyModeGets or sets whether a service supports one thread, multiple threads, or reentrant calls.
Public propertyConfigurationNameGets or sets the value used to locate the service element in an application configuration file.
Public propertyIgnoreExtensionDataObjectGets or sets a value that specifies whether to send unknown serialization data onto the wire.
Public propertyIncludeExceptionDetailInFaultsGets or sets a value that specifies that general unhandled execution exceptions are to be converted into a System.ServiceModel..::.FaultException<(Of <(TDetail>)>) of type System.ServiceModel..::.ExceptionDetail and sent as a fault message. Set this to true only during development to troubleshoot a service.
Public propertyInstanceContextModeGets or sets the value that indicates when new service objects are created.
Public propertyMaxItemsInObjectGraphGets or sets the maximum number of items allowed in a serialized object.
Public propertyNameGets or sets the value of the name attribute in the service element in Web Services Description Language (WSDL).
Public propertyNamespaceGets or sets the value of the target namespace for the service in Web Services Description Language (WSDL).
Public propertyReleaseServiceInstanceOnTransactionCompleteGets or sets a value that specifies whether the service object is released when the current transaction completes.
Public propertyTransactionAutoCompleteOnSessionCloseGets or sets a value that specifies whether pending transactions are completed when the current session closes without error.
Public propertyTransactionIsolationLevelSpecifies the transaction isolation level for new transactions created inside the service, and incoming transactions flowed from a client.
Public propertyTransactionTimeoutGets or sets the period within which a transaction must complete.
Public propertyTypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Public propertyUseSynchronizationContextGets or sets a value that specifies whether to use the current synchronization context to choose the thread of execution.
Public propertyValidateMustUnderstandGets or sets a value that specifies whether the system or the application enforces SOAP MustUnderstand header processing.
Top
  NameDescription
Explicit interface implemetationPrivate methodIServiceBehavior..::.AddBindingParametersPasses custom data objects to the bindings that support the behavior properties.
Explicit interface implemetationPrivate methodIServiceBehavior..::.ApplyDispatchBehaviorCustomizes the service run time to support the behavior properties.
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.)
Explicit interface implemetationPrivate methodIServiceBehavior..::.ValidateConfirms that the service description and service host are capable of supporting the behavior.
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