Share via


CommerceCache.WriterConfigDictionary Property (BCL)

The WriterConfigDictionary property gets or sets the WriterConfig dictionary for the cache. This is the set of name/value pairs that will be passed to the cache loader component during a refresh operation.

Definition

[Visual Basic .NET]

Public Property WriterConfigDictionary As System.Object

[C#]

public System.Object WriterConfigDictionary{get; set;} 

Property Value

A Dictionary object containing configuration values for the cache writer component.

Remarks

A configured cache must have a loader component configured, but a writer component is optional. When a cache refresh occurs, the writer component is fired against the contents of the "old" copy of the cache (if one exists) and then the loader component is fired to populate a new cache object.

Throws an ArgumentException if the provided value is not of type Commerce.IDictionary.

Throws an ArgumentNullException if the provided value is null.

Throws an CommerceCacheException on failure.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Caching

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.