Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Updates the referral cache using the specified referral.
Namespace: Microsoft.Web.Services3.Referral
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim referral As Referral
ReferralCache.Register(referral)
Syntax
'Declaration
Public Shared Sub Register( _
ByVal referral As Referral _
)
public static void Register(
Referral referral
);
public:
static void Register(
Referral^ referral
);
public static void Register(
Referral referral
);
public static function Register(
referral : Referral
) : Void;
Parameters
- referral
A Referral to update the cache with.
Exceptions
| Exception type | Condition |
|---|---|
| ArgumentNullException | referral is null. |
| ArgumentException | referral has expired. |
Remarks
The Register method runs a check of the following conditions for the incoming referral statement:
if it is syntactically valid.
if it is a duplicate of an existing and current referral statement in the cache.
if it has expired.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
ReferralCache Class
ReferralCache Members
Microsoft.Web.Services3.Referral Namespace