다음을 통해 공유


CachingMode Enumeration

The CachingMode enumeration specifies how a stream is cached during loading.

Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Enumeration CachingMode
public enum CachingMode
public enum class CachingMode
public enum CachingMode
public enum CachingMode

Members

Member name Description
Copy Specifies the creation of a new stream to hold the contents of the original Multipurpose Internet Mail Extensions (MIME) stream. You can close the original MIME stream immediately after it is parsed.
Source Specifies the use of the source MIME stream as the data store. Source is not supported when a Stream interface is used. Also, the source stream must support seeking. The source stream should not be closed until all operations on the Document Object Model (DOM) are finished. You must manually close the source stream.
SourceTakeOwnership Specifies the use of the source MIME stream as the data store. Source is not supported when a Stream interface is used. Also, the source stream must support seeking. The source stream should not be closed until all operations on the DOM are finished. You must manually close the source stream. When the MimeDocument is disposed, the source stream is automatically disposed also.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003