Partager via


MimeWriter.EndGroup Method

The EndGroup method ends the current group so that other recipients will be added outside of the current group.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Sub EndGroup
'Usage
Dim instance As MimeWriter

instance.EndGroup()
public void EndGroup()

Exceptions

Exception Condition
InvalidOperationExeption

This exception is thrown if the stream has already been flushed, the current header cannot contain recipients, or the current position does not allow recipients to be written.