ChatMessageStore.ValidateMessage(ChatMessage) 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.
Checks if a chat message is valid and returns the validation result.
public:
virtual ChatMessageValidationResult ^ ValidateMessage(ChatMessage ^ chatMessage) = ValidateMessage;
ChatMessageValidationResult ValidateMessage(ChatMessage const& chatMessage);
public ChatMessageValidationResult ValidateMessage(ChatMessage chatMessage);
function validateMessage(chatMessage)
Public Function ValidateMessage (chatMessage As ChatMessage) As ChatMessageValidationResult
Parameters
- chatMessage
- ChatMessage
The chat message to validate.
Returns
The validation result.
Windows requirements
App capabilities |
chat
chatSystem
smsSend
|
Remarks
Message validation will check the properties of the message for proper format, valid transport selected, attachment count, recipient count, and valid recipients.