RblFilterGetRblStatusesOfIPAddressAsync Method |
Namespace: MailBee.AntiSpamAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<RblStatusCollection> GetRblStatusesOfIPAddressAsync(
string ipString,
string[] rblHosts
)
Public Function GetRblStatusesOfIPAddressAsync (
ipString As String,
rblHosts As String()
) As Task(Of RblStatusCollection)
Parameters
- ipString
- Type: SystemString
The IPv4 address to check, as "11.22.33.44" string. - rblHosts
- Type: SystemString
The array of DNS RBLs' host names.
Return Value
Type:
TaskRblStatusCollectionA task that represents the asynchronous operation.
The value of
TResult parameter is a reference to the collection of statuses of the given IPv4 address in the specified RBLs.
Exceptions Exception | Condition |
---|
MailBeeInvalidArgumentException | ipString is a null reference (Nothing in Visual Basic) or an empty string or does not denote a valid IPv4 address
or rblHosts is a null reference or contains at least one value which is a null reference or an empty string. |
MailBeeException | Another error occurred (e.g. timeout from DNS server) for all RBLs in the list. |
See Also