BotRequestContext.Merge(BotRequestContext, BotRequestContext) 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.
Merges two contexts, with non-null fields from overrides taking precedence.
public static Microsoft.Teams.Core.Http.BotRequestContext? Merge(Microsoft.Teams.Core.Http.BotRequestContext? baseContext, Microsoft.Teams.Core.Http.BotRequestContext? overrides);
static member Merge : Microsoft.Teams.Core.Http.BotRequestContext * Microsoft.Teams.Core.Http.BotRequestContext -> Microsoft.Teams.Core.Http.BotRequestContext
Public Shared Function Merge (baseContext As BotRequestContext, overrides As BotRequestContext) As BotRequestContext
Parameters
- baseContext
- BotRequestContext
The base context, or null.
- overrides
- BotRequestContext
The overriding context, or null.
Returns
The merged context, or null when both inputs are null.