LocatorCollection.Update Method (ILocator, Nullable, DateTime)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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)

Usage

'Usage
Dim instance As LocatorCollection
Dim locator As ILocator
Dim startTime As Nullable(Of DateTime)
Dim expiryTime As DateTime

instance.Update(locator, startTime, expiryTime)

Syntax

'Declaration
Public Sub Update ( _
    locator As ILocator, _
    startTime As Nullable(Of DateTime), _
    expiryTime As DateTime _
)
public void Update (
    ILocator locator,
    Nullable<DateTime> startTime,
    DateTime expiryTime
)
public:
void Update (
    ILocator^ locator, 
    Nullable<DateTime> startTime, 
    DateTime expiryTime
)
public void Update (
    ILocator locator, 
    Nullable<DateTime> startTime, 
    DateTime expiryTime
)
public function Update (
    locator : ILocator, 
    startTime : Nullable<DateTime>, 
    expiryTime : DateTime
)

Parameters

  • locator
    The origin locator to update.
  • startTime
    The new start time for the origin locator.
  • expiryTime
    The new expiration time for the origin locator.

Exceptions

Exception type Condition
ArgumentNullException

locator

InvalidOperationException

locator

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 7, Windows Server 2008, Windows 8 Beta

Target Platforms

See Also

Reference

LocatorCollection Class
LocatorCollection Members
Microsoft.WindowsAzure.MediaServices.Client Namespace

Build Date:

2012-06-07