Share via


AttachmentValidatorAttribute.IsValidAsync(Attachment, String) Method

Definition

public abstract System.Threading.Tasks.Task<bool> IsValidAsync (Microsoft.Bot.Connector.Attachment attachment, out string errorMessage);
abstract member IsValidAsync : Microsoft.Bot.Connector.Attachment * string -> System.Threading.Tasks.Task<bool>
Public MustOverride Function IsValidAsync (attachment As Attachment, ByRef errorMessage As String) As Task(Of Boolean)

Parameters

attachment
Attachment
errorMessage
String

Returns

Applies to