ILocator.UpdateAsync Method (Nullable<DateTime>, DateTime)

Updated: December 4, 2013

Asynchronously updates the start time or expiration time of an Origin locator.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Task UpdateAsync(
	Nullable<DateTime> startTime,
	DateTime expiryTime
)

Parameters

startTime
Type: System.Nullable<DateTime>
The new start time for the origin locator.
expiryTime
Type: System.DateTime
The new expiration time for the origin locator.

Return Value

Type: System.Threading.Tasks.Task
A function delegate that returns the future result to be available through the Task&lt;ILocator&gt;.

ExceptionCondition
InvalidOperationException

locator

Community Additions

Show: