The Service Attribute editor lists the WCF service class attributes that you can configure in the Objects tab of the WCF Service Project painter.
| Member Name | Description |
|---|---|
| ProtectionLevel | Specifies whether the binding for the contract must support the value of the ProtectionLevel property. |
| SessionMode | Gets or sets whether sessions are allowed, not allowed, or required. |
| Member Name | Description |
|---|---|
| InstanceContextMode | Gets or sets the value that indicates when new service objects are created. |
| AddressFilterMode | Gets or sets the AddressFilterMode that is used by the dispatcher to route incoming messages to the correct endpoint. |
| AutomaticSessionShutdown | Specifies whether to automatically close a session when a client closes an output session. |
| ConcurrencyMode | Gets or sets whether a service supports one
thread, multiple threads, or reentrant calls. Note: Because
PowerBuilder is not thread-safe, do not set
ConcurrencyMode=Multiple.
|
| IncludeExceptionDetailInFaults | Gets or sets a value that specifies that general unhandled execution exceptions are to be converted into System.ServiceModel.FaultExceptionTDetail messages of type System.ServiceModel.ExceptionDetail, and sent as fault messages. Set to true only to troubleshoot a service during development. |
| IgnoreExtensionDataObject | Gets or sets a value that specifies whether to send unknown serialization data onto the wire. |
| MaxItemsInObjectGraph | Gets or sets the maximum number of items allowed in a serialized object. Type: Int32. Default: 65536 bytes (64KB). |
| Name | Gets or sets the value of the name attribute in the service element in Web Services Description Language (WSDL). |
| Namespace | Gets or sets the value of the target namespace for the service in WSDL. |
| ReleaseServiceInstanceOnTransactionComplete | Gets or sets a value that specifies whether the service object is released when the current transaction completes. |
| TransactionAutoCompleteOnSessionClose | Gets or sets a value that specifies whether pending transactions are completed when the current session closes without error. |
| TransactionIsolationLevel | Specifies the transaction isolation level for new transactions created inside the service, and incoming transactions that flow from a client. |
| TransactionTimeout | Gets or sets the period within which a transaction must complete. Type: String. The format is d.hh:mm:ss.ff, where d is days, hh is hours as measured on a 24-hour clock, mm is minutes, ss is seconds, and ff is fractions of a second. |
| UseSynchronizationContext | Gets or sets a value that specifies whether to use the current synchronization context to choose the execution thread. |
| ValidateMustUnderstand | Gets or sets a value that specifies whether the system or the application enforces SOAP MustUnderstand header processing. |