[]
Creates the primary working stream.
public override StreamInfo CreatePrimaryStream(string mimeType, string fileExtension)
| Type | Name | Description |
|---|---|---|
| string | mimeType | a string value indicating the mime type for the primary stream. |
| string | fileExtension | a string value indicating the file extension to use for the primary stream. |
| Type | Description |
|---|---|
| StreamInfo | a StreamInfo for the primary stream. |
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown if the primary stream has already been created. |
| InvalidOperationException | Thrown if the file extension is not specified. |