SynchronizationEngineOpenEndpointAsyncT Method |
Returns an object that provides access to an endpoint in a custom code API.
Namespace: Oracle.Cloud.Mobile.SynchronizationAssembly: Oracle.Cloud.Mobile.Synchronization.PCL (in Oracle.Cloud.Mobile.Synchronization.PCL.dll) Version: 16.1.3.1 (16.1.3.1)
Syntaxpublic Task<MobileEndpoint<T>> OpenEndpointAsync<T>(
string apiName,
string endpointPath
)
where T : new(), MobileObject
Public Function OpenEndpointAsync(Of T As {New, MobileObject}) (
apiName As String,
endpointPath As String
) As Task(Of MobileEndpoint(Of T))
public:
generic<typename T>
where T : gcnew(), MobileObject
Task<MobileEndpoint<T>^>^ OpenEndpointAsync(
String^ apiName,
String^ endpointPath
)
member OpenEndpointAsync :
apiName : string *
endpointPath : string -> Task<MobileEndpoint<'T>> when 'T : new() and MobileObject
Parameters
- apiName
- Type: SystemString
The name of the custom code API. - endpointPath
- Type: SystemString
The endpoint in the custom code API.
Type Parameters
- T
- The type of objects that the custom code API exposes.
Return Value
Type:
TaskMobileEndpointTAn MobileEndpoint object for accessing custom code.
See Also