 | ChannelBaseGetCurrentContextAsync Method |
Returns the last context that was broadcast on this channel. All channels initially have no context, until a window is added to the channel and then broadcasts.
The context of a channel will be captured regardless of how it's set on the channel.
Namespace:
OpenFin.FDC3.Channels
Assembly:
OpenFin.FDC3 (in OpenFin.FDC3.dll) Version: 0.2.1-alpha5
Syntaxpublic Task<ContextBase> GetCurrentContextAsync()
Public Function GetCurrentContextAsync As Task(Of ContextBase)
public:
Task<ContextBase^>^ GetCurrentContextAsync()
Return Value
Type:
TaskContextBase
If no contexts have been passed to the channel this method returns null. Context is set to its initial context-less state when a channel is cleared of all windows.
See Also