AdaptiveCardInvokeResponseFactory.Error 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.
Creates an Error AdaptiveCardInvokeResponse.
public static Microsoft.Agents.Core.Models.AdaptiveCardInvokeResponse Error(System.Net.HttpStatusCode statusCode, string code, string message);
static member Error : System.Net.HttpStatusCode * string * string -> Microsoft.Agents.Core.Models.AdaptiveCardInvokeResponse
Public Shared Function Error (statusCode As HttpStatusCode, code As String, message As String) As AdaptiveCardInvokeResponse
Parameters
- statusCode
- HttpStatusCode
Defaults to HttpStatusCode.BadRequest.
- code
- String
Defaults to HttpStatusCode.ToString()
- message
- String