Share via


IActivity.TryGetChannelData<TypeT>(TypeT) Method

Definition

Try to get the channeldata as a strongly typed object.

public bool TryGetChannelData<TypeT> (out TypeT instance);
abstract member TryGetChannelData : 'ypeT -> bool
Public Function TryGetChannelData(Of TypeT) (ByRef instance As TypeT) As Boolean

Type Parameters

TypeT

Type T.

Parameters

instance
TypeT

instance.

Returns

false if there is no valid channeldata available.

Applies to