ActivityResolutionContext Struct
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.
The discriminator values peeked from an inbound Activity's JSON, used to resolve which custom Activity subclass to deserialize into.
public readonly struct ActivityResolutionContext
type ActivityResolutionContext = struct
Public Structure ActivityResolutionContext
- Inheritance
-
ActivityResolutionContext
Remarks
Only the well-known top-level discriminators are surfaced (cheap to peek without a full parse). ChannelId is the channel segment only — any :product sub-channel suffix is stripped — so matching against a bare channel id (e.g. "msteams") works regardless of the ChannelIdIncludesProduct setting.
Constructors
| Name | Description |
|---|---|
| ActivityResolutionContext(String, String, String) |
Initializes a new instance of the ActivityResolutionContext struct. |
Properties
| Name | Description |
|---|---|
| ChannelId |
The Activity |
| Name |
The Activity |
| Type |
The Activity |