ILocator.Update Method (Nullable<DateTime>, DateTime)
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)
Syntax
'Declaration
Sub Update ( _
startTime As Nullable(Of DateTime), _
expiryTime As DateTime _
)
'Usage
Dim instance As ILocator
Dim startTime As Nullable(Of DateTime)
Dim expiryTime As DateTime
instance.Update(startTime, expiryTime)
void Update(
Nullable<DateTime> startTime,
DateTime expiryTime
)
void Update(
Nullable<DateTime> startTime,
DateTime expiryTime
)
abstract Update :
startTime:Nullable<DateTime> *
expiryTime:DateTime -> unit
function Update(
startTime : Nullable<DateTime>,
expiryTime : DateTime
)
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.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | locator |