Property SessionType
SessionType
Gets or sets the type of read and edit sessions to use when working with the service.
Declaration
public FeatureServiceSessionType SessionType { get; set; }
Property Value
| Type | Description |
|---|---|
| FeatureServiceSessionType | The type of read and edit sessions to use when working with the service. |
Remarks
The default value is Transient.
If the feature service this ServiceGeodatabase references is not branch-versioned, only Transient is supported.
If using Persistent, it is important to call CloseAsync() before destruction.
Cannot be set after the ServiceGeodatabase is loaded. When the ServiceGeodatabase is created by loading a Map, use LoadSettings to control the session type.
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.10 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.10 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.10 - 100.12 |
| Xamarin.Android | 100.10 - 100.15 |
| Xamarin.iOS | 100.10 - 100.15 |
| UWP | 100.10 - 100.15 |