Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ServiceBehaviorAttribute

ServiceBehaviorAttribute

class ServiceBehaviorAttribute : Behavior
{
  boolean AutomaticSessionShutdown;
  string ConcurrencyMode;
  string ConfigurationName;
  boolean IgnoreExtensionDataObject;
  boolean IncludeExceptionDetailInFaults;
  string InstanceContextMode;
  sint32 MaxItemsInObjectGraph;
  string Name;
  string Namespace;
  boolean ReleaseServiceInstanceOnTransactionComplete;
  boolean TransactionAutoCompleteOnSessionClose;
  string TransactionIsolationLevel;
  datetime TransactionTimeout;
  boolean UseSynchronizationContext;
  boolean ValidateMustUnderstand;
};

The ServiceBehaviorAttribute class does not define any methods.

The ServiceBehaviorAttribute class has the following properties:

Aa738587.collapse_all(en-us,VS.110).gifAutomaticSessionShutdown

Data type: boolean

Access type: Read-only

Indicates whether to automatically close a session when a client closes an output session.

Aa738587.collapse_all(en-us,VS.110).gifConcurrencyMode

Data type: string
Access type: Read-only

Indicates whether a service supports one thread, multiple threads, or reentrant calls.

Aa738587.collapse_all(en-us,VS.110).gifConfigurationName

Data type: string

Access type: Read-only

The name of the service configuration.

Aa738587.collapse_all(en-us,VS.110).gifIgnoreExtensionDataObject

Data type: boolean

Access type: Read-only

Specifies whether to send unknown serialization data onto the wire.

Aa738587.collapse_all(en-us,VS.110).gifIncludeExceptionDetailInFaults

Data type: boolean

Access type: Read-only

Specifies whether to include managed exception information in the detail of SOAP faults returned to the clients for debugging purposes.

Aa738587.collapse_all(en-us,VS.110).gifInstanceContextMode

Data type: string

Access type: Read-only

Specifies when a new service object is created.

Aa738587.collapse_all(en-us,VS.110).gifMaxItemsInObjectGraph

Data type: sint32

Access type: Read-only

The maximum number of items allowed in a serialized object.

Aa738587.collapse_all(en-us,VS.110).gifName

Data type: string

Access type: Read-only

The name attribute of the service in WSDL.

Aa738587.collapse_all(en-us,VS.110).gifNamespace

Data type: string

Access type: Read-only

The target namespace of the service in WSDL.

Aa738587.collapse_all(en-us,VS.110).gifReleaseServiceInstanceOnTransactionComplete

Data type: boolean

Access type: Read-only

Specifies whether the service object is recycled when the current transaction completes.

Aa738587.collapse_all(en-us,VS.110).gifTransactionAutoCompleteOnSessionClose

Data type: boolean

Access type: Read-only

Specifies whether pending transactions are completed when the current session closes.

Aa738587.collapse_all(en-us,VS.110).gifTransactionIsolationLevel

Data type: string

Access type: Read-only

Specifies the transaction isolation level.

Aa738587.collapse_all(en-us,VS.110).gifTransactionTimeout

Data type: datetime

Access type: Read-only

The period within which a transaction must complete.

Aa738587.collapse_all(en-us,VS.110).gifUseSynchronizationContext

Data type: boolean

Access type: Read-only

Specifies whether to use the current synchronization context to choose the thread execution.

Aa738587.collapse_all(en-us,VS.110).gifValidateMustUnderstand

Data type: boolean

Access type: Read-only

Specifies whether the system or the application enforces SOAP MustUnderstand header processing.

MOF

Declared in Servicemodel.mof.

Namespace

Defined in root\ServiceModel

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.