MapiDistributionList.Save

Save(string)

Saves the specified file name.

public void Save(string fileName)
ParameterTypeDescription
fileNameStringName of the file.

See Also


Save(string, MapiDistributionListSaveOptions)

Saves the specified file name.

public void Save(string fileName, MapiDistributionListSaveOptions options)
ParameterTypeDescription
fileNameStringName of the file.
optionsMapiDistributionListSaveOptionsAdditional options for saving DistributionList.

Exceptions

exceptioncondition
InvalidOperationExceptionThrown if DistributionList is empty.
NotSupportedExceptionThrown if the DistributionList is saved in WebDav

See Also


Save(Stream)

Saves the specified stream.

public void Save(Stream stream)
ParameterTypeDescription
streamStreamThe stream.

See Also


Save(Stream, MapiDistributionListSaveOptions)

Saves the specified stream.

public void Save(Stream stream, MapiDistributionListSaveOptions options)
ParameterTypeDescription
streamStreamThe stream.
optionsMapiDistributionListSaveOptionsAdditional options for saving DistributionList.

Exceptions

exceptioncondition
InvalidOperationExceptionThrown if DistributionList is empty.
NotSupportedExceptionThrown if the DistributionList is saved in WebDav

See Also