Class MessengerBase
The base class for all messengers.
Namespace: FastReport.Messaging
Assembly: FastReport.dll
Syntax
public class MessengerBase
Constructors
MessengerBase()
Initializes a new instance of the MessengerBase class.
Declaration
public MessengerBase()
Properties
Filename
Gets the filename.
Declaration
public string Filename { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
ProxySettings
Gets or sets the proxy settings.
Declaration
public ProxySettings ProxySettings { get; set; }
Property Value
Type | Description |
---|---|
ProxySettings |
Methods
Authorize()
Authorizes the user.
Declaration
protected virtual bool Authorize()
Returns
Type | Description |
---|---|
System.Boolean | True if user has been successfully authorized. |
PrepareToSave(Report, ExportBase)
Prepares the report before it will be send.
Declaration
protected MemoryStream PrepareToSave(Report report, ExportBase export)
Parameters
Type | Name | Description |
---|---|---|
Report | report | The report template. |
ExportBase | export | The export filter. |
Returns
Type | Description |
---|---|
System.IO.MemoryStream | Memory stream that contains prepared report. |
SendReport(Report, ExportBase)
Sends the report.
Declaration
public virtual bool SendReport(Report report, ExportBase export)
Parameters
Type | Name | Description |
---|---|---|
Report | report | The report template that should be sent. |
ExportBase | export | The export filter that should export template before. |
Returns
Type | Description |
---|---|
System.Boolean | True if report has been successfully sent. |