AttachmentValidatorAttribute.IsValidAsync(Attachment, 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.
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