| Visual Basic (Declaration) | |
|---|---|
Public Overrides Function CreatePrimaryStream( _ ByVal mimeType As String, _ ByVal fileExtension As String _ ) As StreamInfo | |
| C# | |
|---|---|
public override StreamInfo CreatePrimaryStream( string mimeType, string fileExtension ) | |
Parameters
- mimeType
- a string value indicating the mime type for the primary stream.
- fileExtension
- a string value indicating the file extension to use for the primary stream.
Return Value
a DataDynamics.Reports.Extensibility.Rendering.IO.StreamInfo for the primary stream.| Exception | Description |
|---|---|
| InvalidOperationException | Thrown if the primary stream has already been created. |
| InvalidOperationException | Thrown if the file extension is not specified. |