次の方法で共有


AddressBookEntry.GetSpamConfidenceLevelThreshold method

When overridden in a derived class, the GetSpamConfidenceLevelThreshold method returns the Spam Confidence Level (SCL) threshold for the recipient for the action that is specified by the action parameter.

Namespace:  Microsoft.Exchange.Data.Transport
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride Function GetSpamConfidenceLevelThreshold ( _
    action As SpamAction, _
    defaultValue As Integer _
) As Integer
'Usage
Dim instance As AddressBookEntry
Dim action As SpamAction
Dim defaultValue As Integer
Dim returnValue As Integer

returnValue = instance.GetSpamConfidenceLevelThreshold(action, _
    defaultValue)
public abstract int GetSpamConfidenceLevelThreshold(
    SpamAction action,
    int defaultValue
)

Parameters

  • defaultValue
    Type: System.Int32

    The value to return if no custom threshold is specified.

Return value

Type: System.Int32

Exceptions

Exception Condition
[System.ArgumentOutOfRangeException]

The action parameter is not one of the valid SpamAction enumeration values or the defaultValue parameter is outside the range of 0-9 and is not Int.MaxValue.

See also

Reference

AddressBookEntry class

AddressBookEntry members

Microsoft.Exchange.Data.Transport namespace