Compartir a través de


IWMSCacheProxyServer.CompareContentInformation (Visual Basic .NET)

The CompareContentInformation method is called by the cache plug-in to determine whether content is up to date.

IWMSCacheProxyServer.CompareContentInformation(  bstrOriginUrl As String,
  pContentInfo As IWMSContext,
  pPresentationContext As IWMSContext,
  pICacheProxy As IWMSCacheProxy,
  pIProxyContext As IWMSProxyContext,
  pCallback As IWMSCacheProxyServerCallback,
  varContext As Object
)

Arguments

[in] String containing the URL of the content on the origin server.

[in] IWMSContextIWMSContext Object (Visual Basic .NET) containing a Content Description Context.

[in] IWMSContext object containing a Presentation Context.

[in] IWMSCacheProxyIWMSCacheProxy Object (Visual Basic .NET) containing the plug-in making the call.

[in] IWMSProxyContextIWMSProxyContext Object (Visual Basic .NET) that enables the server to retrieve client credentials and the name and port number of the proxy server that handles the client request.

[in] IWMSCacheProxyServerCallbackIWMSCacheProxyServerCallback Object (Visual Basic .NET) containing the callback function. The server calls IWMSCacheProxyServerCallback.OnCompareContentInformation to respond to the plug-in.

[in] Object containing a value defined by the plug-in. For example, your plug-in can use this parameter to persist state information. The server does not alter this value and passes it back when calling IWMSCacheProxyServerCallback.OnCompareContentInformation.

Return Value

This method does not return a value.

If this method fails, it throws an exception.

Number

Description

0x8007000E

The server could not allocate memory.

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

Concepts

IWMSCacheProxyServer Object (Visual Basic .NET)