Dela via


ChatMessageValidationStatus Enum

Definition

Specifies the validation state of a chat message such as valid, no recipients, or too many attachments.

public enum class ChatMessageValidationStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ChatMessageValidationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ChatMessageValidationStatus
var value = Windows.ApplicationModel.Chat.ChatMessageValidationStatus.valid
Public Enum ChatMessageValidationStatus
Inheritance
ChatMessageValidationStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
chat chatSystem smsSend

Fields

Name Value Description
Valid 0

Valid

NoRecipients 1

No recipients

InvalidData 2

Invalid data

MessageTooLarge 3

Message too large

TooManyRecipients 4

Too many recipients

TransportInactive 5

Transport inactive

TransportNotFound 6

Transport not found

TooManyAttachments 7

Too many attachments

InvalidRecipients 8

Invalid recipients

InvalidBody 9

Invalid body

InvalidOther 10

Invalid other

ValidWithLargeMessage 11

Valid with large message

VoiceRoamingRestriction 12

Voice roaming restriction

DataRoamingRestriction 13

Data roaming restriction

Remarks

Version history

Windows version SDK version Value added
1607 14393 DataRoamingRestriction
1607 14393 ValidWithLargeMessage
1607 14393 VoiceRoamingRestriction

Applies to