Share via


IWMSCacheProxy.FindCacheItem (Visual Basic .NET)

banner art

Previous Next

IWMSCacheProxy.FindCacheItem (Visual Basic .NET)

The FindCacheItem method is called by the server to retrieve an IWMSCacheItemDescriptor object that contains information about a specific cache item.

Syntax

  

Parameters

bstrOriginUrl

[in] String containing the origin URL.

ppCacheItemDescriptor

[out] Reference to an IWMSCacheItemDescriptor object containing the size, version number, and expiration date of a specific cache item.

Return Values

This method does not return a value.

Example Code

Imports Microsoft.WindowsMediaServices.Interop
Imports System.Runtime.InteropServices

Public Sub FindCacheItem(ByVal OriginUrl As String, ByRef CacheItemDescriptor As IWMSCacheItemDescriptor) _
  Implements IWMSCacheProxy.FindCacheItem

    ' Minimal implementation.
    Try
      CacheItemDescriptor = Nothing
    Catch
      Throw New COMException()
    End Try

End Sub

Requirements

Reference: Add a reference to Microsoft.WindowsMediaServices.

Namespace: Microsoft.WindowsMediaServices.Interop.

Assembly: Microsoft.WindowsMediaServices.dll.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.

See Also

Previous Next