- itemNames
- The name of the context item values to get.
- onlyChanges
- Enables a participant to instruct the context manager to filter which items it returns no matter what names were specified. When the value of onlyChanges is true, then the items that are returned are limited to only the context subjects whose items were set by the most recently committed context change transaction, or by the transaction in progress, as indicated by the value of contextCoupon.
- contextCoupon
- The context coupon.
Visual Basic (Declaration) | |
---|---|
Function GetItemValues( _ ByVal itemNames As Object, _ ByVal onlyChanges As Boolean, _ ByVal contextCoupon As Integer _ ) As Object |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IContextData Dim itemNames As Object Dim onlyChanges As Boolean Dim contextCoupon As Integer Dim value As Object value = instance.GetItemValues(itemNames, onlyChanges, contextCoupon) |
C# | |
---|---|
object GetItemValues( object itemNames, bool onlyChanges, int contextCoupon ) |
C++/CLI | |
---|---|
Object^ GetItemValues( Object^ itemNames, bool onlyChanges, int contextCoupon ) |
Parameters
- itemNames
- The name of the context item values to get.
- onlyChanges
- Enables a participant to instruct the context manager to filter which items it returns no matter what names were specified. When the value of onlyChanges is true, then the items that are returned are limited to only the context subjects whose items were set by the most recently committed context change transaction, or by the transaction in progress, as indicated by the value of contextCoupon.
- contextCoupon
- The context coupon.
Return Value
A string array containing the common subject context item values.For an example refer to JoinCommonContext.
When the value of the input contextCoupon denotes the most recently committed transaction, the item values that are returned represent the state of the common context as it existed when the transaction was completed. When the value of the input contextCoupon denotes the transaction currently in progress, the item values that are returned represent the state of the common context as it has been established so far by the transaction
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7