MobileResourceAddLinkedResourceAsync Method |
Adds a depdendency to another resource. This depdency is used to monitor changes to the linked resources in case
of offline writes: ex. if Resource1 and Resource2 were both created while offline and Resource2 embeds a link to
Resource1, the URI for Resource1 would be a temporary one created offline by the system. On going online, when
the real URI for Resource1 gets assigned by the service, Resource2 would get
notified in OnLinkedResourceUriChanged() and can update the embedded link to the new URI.
Namespace: Oracle.Cloud.Mobile.Synchronization.MobileEndpointAssemblies: Oracle.Cloud.Mobile.Synchronization.PCL (in Oracle.Cloud.Mobile.Synchronization.PCL.dll) Version: 16.1.3.1 (16.1.3.1)
Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntaxpublic Task AddLinkedResourceAsync(
Uri resourceUri
)
Public Function AddLinkedResourceAsync (
resourceUri As Uri
) As Task
public:
Task^ AddLinkedResourceAsync(
Uri^ resourceUri
)
member AddLinkedResourceAsync :
resourceUri : Uri -> Task
Parameters
- resourceUri
- Type: SystemUri
Return Value
Type:
Task
See Also