ServiceBehaviorAttribute Properties

The ServiceBehaviorAttribute type exposes the following members.

  NameDescription
Public property AddressFilterMode Gets or sets the AddressFilterMode that is used by the dispatcher to route incoming messages to the correct endpoint.
Public property AutomaticSessionShutdown Specifies whether to automatically close a session when a client closes an output session.
Public property ConcurrencyMode Gets or sets whether a service supports one thread, multiple threads, or reentrant calls.
Public property ConfigurationName Gets or sets the value used to locate the service element in an application configuration file.
Public property IgnoreExtensionDataObject Gets or sets a value that specifies whether to send unknown serialization data onto the wire.
Public property IncludeExceptionDetailInFaults Gets or sets a value that specifies that general unhandled execution exceptions are to be converted into a System.ServiceModel.FaultException<TDetail> of type System.ServiceModel.ExceptionDetail and sent as a fault message. Set this to true only during development to troubleshoot a service.
Public property InstanceContextMode Gets or sets the value that indicates when new service objects are created.
Public property MaxItemsInObjectGraph Gets or sets the maximum number of items allowed in a serialized object.
Public property Name Gets or sets the value of the name attribute in the service element in Web Services Description Language (WSDL).
Public property Namespace Gets or sets the value of the target namespace for the service in Web Services Description Language (WSDL).
Public property ReleaseServiceInstanceOnTransactionComplete Gets or sets a value that specifies whether the service object is released when the current transaction completes.
Public property TransactionAutoCompleteOnSessionClose Gets or sets a value that specifies whether pending transactions are completed when the current session closes without error.
Public property TransactionIsolationLevel Specifies the transaction isolation level for new transactions created inside the service, and incoming transactions flowed from a client.
Public property TransactionTimeout Gets or sets the period within which a transaction must complete.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Public property UseSynchronizationContext Gets or sets a value that specifies whether to use the current synchronization context to choose the thread of execution.
Public property ValidateMustUnderstand Gets or sets a value that specifies whether the system or the application enforces SOAP MustUnderstand header processing.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft