Share via


Activity.GetChannelData<TypeT> Method

Definition

Gets the channel data for this activity as a strongly-typed object.

public TypeT GetChannelData<TypeT> ();
abstract member GetChannelData : unit -> 'ypeT
override this.GetChannelData : unit -> 'ypeT
Public Function GetChannelData(Of TypeT) () As TypeT

Type Parameters

TypeT

The type of the object to return.

Returns

TypeT

The strongly-typed object; or the type's default value, if the ChannelData is null.

Implements

Applies to

See also