ObjectReferenceService Class
This interface is used by Visual Studio integration to acquire an AppDomain serialization friendly reference to an object.
Assembly: System.Activities.Presentation (in System.Activities.Presentation.dll)
| Name | Description | |
|---|---|---|
![]() | ObjectReferenceService(EditingContext^) | Initializes a new instance of the ObjectReferenceService class with a specified editing context |
| Name | Description | |
|---|---|---|
![]() | AcquireObjectReference(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. |
![]() | AcquireObjectReference(Object^) | Acquires a reference of an object by its actual reference. |
![]() | 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.) |
![]() | GetType() | |
![]() | ReleaseObjectReference(Guid) | Allows the designer infrastructure to release the actual reference to the activity and avoids memory leak. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | TryGetObject(Guid, Object^%) | Obtains the actual reference to the object by its ObjectReference. |
| Name | Description | |
|---|---|---|
![]() | SourceLocationUpdated | Occurs when the source location for the object changes. |
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.

