AttachmentContentTypeValidatorAttribute.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 override System.Threading.Tasks.Task<bool> IsValidAsync (Microsoft.Bot.Connector.Attachment attachment, out string errorMessage);
override this.IsValidAsync : Microsoft.Bot.Connector.Attachment * string -> System.Threading.Tasks.Task<bool>
Public Overrides Function IsValidAsync (attachment As Attachment, ByRef errorMessage As String) As Task(Of Boolean)
Parameters
- attachment
- Attachment
- errorMessage
- String