DeliveryStatusParser Constructor (Byte) |
Namespace: MailBee.BounceMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public DeliveryStatusParser(
byte[] xmlDatabase
)
Public Sub New (
xmlDatabase As Byte()
)
Parameters
- xmlDatabase
- Type: SystemByte
Byte array in .xdb format.
Exceptions Remarks .xdb file joins the contents of multiple XML files into one. This overload lets you use a single .xdb file
as bounce database or load it from the resources of your application. Also, you can load the file asynchronously.
Examples
This code snippet reads the .xdb file and initializes the
DeliveryStatusParser.
DeliveryStatusParser parser = new DeliveryStatusParser(File.ReadAllBytes(@"C:\Program Files\MailBee.NET Objects\BounceDatabase\bouncedatabase.xdb"));
Dim parser As New DeliveryStatusParser(File.ReadAllBytes("C:\Program Files\MailBee.NET Objects\BounceDatabase\bouncedatabase.xdb"))
See Also