แก้ไข

แชร์ผ่าน


LocationReference Class

Definition

Provides a mechanism by which a Location can be resolved at runtime.

public ref class LocationReference abstract
public abstract class LocationReference
type LocationReference = class
Public MustInherit Class LocationReference
Inheritance
LocationReference
Derived

Remarks

Variable, RuntimeArgument, and DelegateArgument are all LocationReferences. The runtime manages state in an environment associated with each ActivityInstance. A Location is a read/write proxy to a value stored in this environment. A LocationReference provides a mechanism by which a Location can be resolved at runtime.

This is an abstract class.

Constructors

LocationReference()

Creates a new instance of the LocationReference class.

Properties

Name

Gets or sets the name of the LocationReference.

NameCore

When implemented by a derived class, gets or sets the culturally localized version of the name of the LocationReference.

Type

Gets or sets the type of the LocationReference.

TypeCore

When implemented in a derived class, gets or sets the culturally localized version of the type of the LocationReference.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLocation(ActivityContext)

When implemented in a derived class, extracts the location for a LocationReference from an ActivityContext object.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to