다음을 통해 공유


Base64Encoder Constructor (Int32)

The Base64Encoder constructor initializes a new instance of the Base64Encoder class with the LineLength property that is indicated by the lineLength parameter.

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

Syntax

'Declaration
Public Sub New ( _
    lineLength As Integer _
)
public Base64Encoder (
    int lineLength
)
public:
Base64Encoder (
    int lineLength
)
public Base64Encoder (
    int lineLength
)
public function Base64Encoder (
    lineLength : int
)

Parameters

  • lineLength
    A value of 76 enables lines that are 76 characters long to be terminated by using CRLF. A value of 0 disables soft wrapping.

Exceptions

Exception type Condition
ArgumentOutOfRangeException

The lineLength parameter was neither 0 nor 76.

Remarks

The only values that are allowed for lineLength are 0 and 76.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2003