다음을 통해 공유


DecodingOptions Constructor (DecodingFlags, Encoding)

The DecodingOptions constructor creates a new DecodingOptions structure that has the DecodingFlags specified by decodingFlags and the encoding specified by encoding.

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

Syntax

'Declaration
Public Sub New ( _
    decodingFlags As DecodingFlags, _
    encoding As Encoding _
)
public DecodingOptions (
    DecodingFlags decodingFlags,
    Encoding encoding
)
public:
DecodingOptions (
    DecodingFlags decodingFlags, 
    Encoding^ encoding
)
public DecodingOptions (
    DecodingFlags decodingFlags, 
    Encoding encoding
)
public function DecodingOptions (
    decodingFlags : DecodingFlags, 
    encoding : Encoding
)

Parameters

  • decodingFlags
    The DecodingFlags enumeration that specifies the encodings to use when trying to decode incoming headers.
  • encoding
    The System.Text.Encoding object that specifies the encoding for incoming headers if no character set information is specified in the incoming document.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2003