AdaptiveCardInvokeResponseFactory.PreConditionFailed(String, String) 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.
Returns response with type PreConditionFailed.
public static Microsoft.Agents.Core.Models.AdaptiveCardInvokeResponse PreConditionFailed(string message, string code = default);
static member PreConditionFailed : string * string -> Microsoft.Agents.Core.Models.AdaptiveCardInvokeResponse
Public Shared Function PreConditionFailed (message As String, Optional code As String = Nothing) As AdaptiveCardInvokeResponse
Parameters
- message
- String
- code
- String
Returns
The response that includes a response that the client should display.