Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CompareContentInformation method is called by the cache plug-in to determine whether content is up to date.
void IWMSCacheProxyServer.CompareContentInformation(
  string bstrOriginUrl,
  IWMSContext pContentInfo,
  IWMSContext pPresentationContext,
  IWMSCacheProxy pICacheProxy,
  IWMSProxyContext pIProxyContext,
  IWMSCacheProxyServerCallback pCallback,
  object varContext
);
Arguments
[in] string containing the URL of the content on the origin server.  | 
|
[in] IWMSContextIWMSContext Object (C#) containing a Content Description Context.  | 
|
[in] IWMSContext object containing a Presentation Context.  | 
|
[in] IWMSCacheProxyIWMSCacheProxy Object (C#) containing the plug-in making the call.  | 
|
[in] IWMSProxyContextIWMSProxyContext Object (C#) 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 (C#) 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.