Share via


GetValue(T) Method (T, , InstanceDependencyProperty)

Gets the value of an InstanceDependencyProperty.

Namespace:  Microsoft.Rtc.Workflow.Activities
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

Syntax

'Declaration
Public Shared Function GetValue(Of T As {Activity, IInstanceDependencyContainer}) ( _
    dependencyObject As T, _
    instanceId As Guid, _
    property As InstanceDependencyProperty _
) As Object
public static Object GetValue<T>(
    T dependencyObject,
    Guid instanceId,
    InstanceDependencyProperty property
)
where T : Activity, IInstanceDependencyContainer
public:
generic<typename T>
where T : Activity, IInstanceDependencyContainer
static Object^ GetValue(
    T dependencyObject, 
    Guid instanceId, 
    InstanceDependencyProperty^ property
)
JavaScript does not support generic types or methods.

Parameters

  • dependencyObject
    Type: T
    The dependency object containing the property.
  • instanceId
    Type: Guid
    Activity workflow instance ID.

Type Parameters

  • T
    A specific Activity or IInstanceDependencyContainer type.

Return Value

The value of the property.

Exceptions

Exception Condition
SerializationException SerializationStream supports seeking, but its length is 0.

See Also

InstanceDependencyHelper Class

GetValue Overload

Microsoft.Rtc.Workflow.Activities Namespace