Partager via


Referral.RefId Property

Gets or sets the refId element for a referral statement.

Namespace: Microsoft.Web.Services3.Referral
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim referral1 As Referral

Dim returnValue As Uri
returnValue = referral1.RefId

Dim sampleValue As Uri
referral1.RefId = sampleValue

Syntax

'Declaration
Public Property RefId() As Uri
public Uri RefId {get; set;}
public:
property Uri^ RefId {
    Uri^ get();
    void set(Uri^ value);
}
public Uri get_RefId();
public void set_RefId(Uri);
public function get RefId() : Uri;
public function set RefId(Uri);

Property Value

A URI that identifies the referrral statement uniquely. An example value can be uuid:84b9f5d0-33fb-a81-b02b-5b760641c1d6.

Exceptions

Exception type Condition
ArgumentNullException

An attempt to set RefId to null.

Remarks

The uniqueness of the referral statement is guaranteed by the generator of the statement. SOAP routers can use the value of the refId element to refer to specific representations of a referral statement. Two referral statements that are logically equivalent should have the same refId value; two referral statements that are logically distinct must not have the same refId values.

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

Referral Class
Referral Members
Microsoft.Web.Services3.Referral Namespace