AdaptiveCardInvokeResponseFactory.PreConditionFailed(String, String) Method

Definition

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.

Applies to