ActivityExtensions.TryGetChannelData<TypeT>(IActivity, TypeT) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static bool TryGetChannelData<TypeT> (this Microsoft.Bot.Connector.IActivity activity, out TypeT instance);
static member TryGetChannelData : Microsoft.Bot.Connector.IActivity * 'ypeT -> bool
<Extension()>
Public Function TryGetChannelData(Of TypeT) (activity As IActivity, ByRef instance As TypeT) As Boolean
Type Parameters
- TypeT
Parameters
- activity
- IActivity
- instance
- TypeT