C# Class Sage.SData.Client.Mime.MimePart

Represents a MIME protocol message part.
Inheritance: IDisposable
Afficher le fichier Open project: Saleslogix/SDataCSharpClientLib

Méthodes publiques

Méthode Description
Dispose ( ) : void
MimePart ( Stream content ) : System

Initializes a new instance of the MimePart class using the supplied content.

MimePart ( Stream content, WebHeaderCollection headers ) : System

Initializes a new instance of the MimePart class using the supplied content and headers.

WriteTo ( StreamWriter writer, string boundary ) : void

Writes the MIME part to the specified stream writer.

Private Methods

Méthode Description
SetHeaderValue ( HttpRequestHeader name, string value ) : void
SetHeaderValue ( string name, string value ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

MimePart() public méthode

Initializes a new instance of the MimePart class using the supplied content.
public MimePart ( Stream content ) : System
content Stream The content of the MIME part.
Résultat System

MimePart() public méthode

Initializes a new instance of the MimePart class using the supplied content and headers.
public MimePart ( Stream content, WebHeaderCollection headers ) : System
content Stream The content of the MIME part.
headers System.Net.WebHeaderCollection The headers of the MIME part.
Résultat System

WriteTo() public méthode

Writes the MIME part to the specified stream writer.
public WriteTo ( StreamWriter writer, string boundary ) : void
writer System.IO.StreamWriter The destination writer to write to.
boundary string The unique string used to designated the beginning of the part.
Résultat void