Share via


ActivityExtensions.TryGetChannelData<TypeT>(IActivity, TypeT) Method

Definition

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

Returns

Applies to