ObjectReferenceService Class

.NET Framework (current version)
 

This interface is used by Visual Studio integration to acquire an AppDomain serialization friendly reference to an object.

Namespace:   System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

System::Object
  System.Activities.Presentation::ObjectReferenceService

public ref class ObjectReferenceService sealed 

NameDescription
System_CAPS_pubmethodObjectReferenceService(EditingContext^)

Initializes a new instance of the ObjectReferenceService class with a specified editing context

NameDescription
System_CAPS_pubmethodAcquireObjectReference(Int32, Int32, Int32, Int32)

Acquires a reference by the SourceLocation of the object and this method will automatically register the object to listen to SourceLocationUpdatedEvent, if available.

System_CAPS_pubmethodAcquireObjectReference(Object^)

Acquires a reference of an object by its actual reference.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodReleaseObjectReference(Guid)

Allows the designer infrastructure to release the actual reference to the activity and avoids memory leak.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTryGetObject(Guid, Object^%)

Obtains the actual reference to the object by its ObjectReference.

NameDescription
System_CAPS_pubeventSourceLocationUpdated

Occurs when the source location for the object changes.

.NET Framework
Available since 4.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: