Method CreateAsync
CreateAsync(PortalItem)
Creates a new instance of the Service
Declaration
public static async Task<ServiceGeodatabase> CreateAsync(PortalItem portalItem)
Parameters
Type | Name | Description |
---|---|---|
Portal |
portalItem | A feature service Portal |
Returns
Type | Description |
---|---|
System. |
The task object representing the asynchronous create operation. The value of the task result is a loaded Service |
Remarks
If the service is branch versioned, the Service
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
CreateAsync(PortalItem, FeatureServiceSessionType)
Creates a new instance of the Service
Declaration
public static async Task<ServiceGeodatabase> CreateAsync(PortalItem portalItem, FeatureServiceSessionType sessionType)
Parameters
Type | Name | Description |
---|---|---|
Portal |
portalItem | A feature service Portal |
Feature |
sessionType | The type of read and edit sessions to use when working with the service. |
Returns
Type | Description |
---|---|
System. |
The task object representing the asynchronous create operation. The value of the task result is a loaded Service |
Remarks
If the service is branch versioned, the Service
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
CreateAsync(PortalItem, String)
Creates a new instance of the Service
Declaration
public static async Task<ServiceGeodatabase> CreateAsync(PortalItem portalItem, string versionName)
Parameters
Type | Name | Description |
---|---|---|
Portal |
portalItem | A feature service Portal |
System. |
versionName | The existing version to connect to when the Service |
Returns
Type | Description |
---|---|
System. |
The task object representing the asynchronous create operation. The value of the task result is a loaded Service |
Remarks
If a version with the name does not exist, or the service is not branch versioned, the Service
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
CreateAsync(PortalItem, String, FeatureServiceSessionType)
Creates a new instance of the Service
Declaration
public static async Task<ServiceGeodatabase> CreateAsync(PortalItem portalItem, string versionName, FeatureServiceSessionType sessionType)
Parameters
Type | Name | Description |
---|---|---|
Portal |
portalItem | A feature service Portal |
System. |
versionName | The existing version to connect to when the Service |
Feature |
sessionType | The type of read and edit sessions to use when working with the service. |
Returns
Type | Description |
---|---|
System. |
The task object representing the asynchronous create operation. The value of the task result is a loaded Service |
Remarks
If a version with the name does not exist, or the service is not branch versioned, the Service
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
CreateAsync(Uri)
Creates a new Service
Declaration
public static async Task<ServiceGeodatabase> CreateAsync(Uri url)
Parameters
Type | Name | Description |
---|---|---|
System. |
url | The URL of the feature service or the portal item to connect to. |
Returns
Type | Description |
---|---|
System. |
The task object representing the asynchronous create operation. The value of the task result is a loaded Service |
Remarks
If the service is branch versioned, the Service
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
CreateAsync(Uri, String)
Creates a new Service
Declaration
public static async Task<ServiceGeodatabase> CreateAsync(Uri url, string versionName)
Parameters
Type | Name | Description |
---|---|---|
System. |
url | The URL of the feature service or the portal item to connect to. |
System. |
versionName | The existing version to connect to when the Service |
Returns
Type | Description |
---|---|
System. |
The task object representing the asynchronous create operation. The value of the task result is a loaded Service |
Remarks
If a version with the name does not exist, or the service is not branch versioned, the Service
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
CreateAsync(Uri, String, FeatureServiceSessionType)
Creates a new Service
Declaration
public static async Task<ServiceGeodatabase> CreateAsync(Uri url, string versionName, FeatureServiceSessionType sessionType)
Parameters
Type | Name | Description |
---|---|---|
System. |
url | The URL of the feature service or the portal item to connect to. |
System. |
versionName | The existing version to connect to when the Service |
Feature |
sessionType | The type of read and edit sessions to use when working with the service. |
Returns
Type | Description |
---|---|
System. |
Remarks
If a version with the name does not exist, or the service is not branch versioned, the Service
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
CreateAsync(Uri, FeatureServiceSessionType)
Creates a new Service
Declaration
public static async Task<ServiceGeodatabase> CreateAsync(Uri url, FeatureServiceSessionType sessionType)
Parameters
Type | Name | Description |
---|---|---|
System. |
url | The URL of the feature service or the portal item to connect to. |
Feature |
sessionType | The type of read and edit sessions to use when working with the service. |
Returns
Type | Description |
---|---|
System. |
Remarks
If the service is branch versioned, the Service
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |