Share via


ChatMessageValidationResult Class

Definition

Provides results for validation of chat messages.

public ref class ChatMessageValidationResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ChatMessageValidationResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ChatMessageValidationResult
Public NotInheritable Class ChatMessageValidationResult
Inheritance
Object Platform::Object IInspectable ChatMessageValidationResult
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

Remarks

Obtain an instance of this class by calling ValidateMessage.

Properties

MaxPartCount

Gets the maximum number of text fragments allowed for a message. This value has meaning when the SMS text portion of a message is validated.

PartCount

Gets the total number of text fragments needed for this message. This value has meaning when the SMS text portion of a message is validated.

RemainingCharacterCountInPart

Gets the number of characters not used in the final message fragments. This value has meaning when the SMS text portion of a message is validated.

Status

Gets the message validation status code.

Applies to