Edit

Share via


StringService.VerifyStringAsync(String) Method

Definition

Verifies if a string contains acceptable text for use with Xbox Live.

public Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.System.VerifyStringResult> VerifyStringAsync (string stringToVerify);
abstract member VerifyStringAsync : string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.System.VerifyStringResult>
override this.VerifyStringAsync : string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.System.VerifyStringResult>
Public Function VerifyStringAsync (stringToVerify As String) As IAsyncOperation(Of VerifyStringResult)

Parameters

stringToVerify
String

The string to verify.

Returns

Windows.Foundation.IAsyncOperation<VerifyStringResult>

An interface for tracking the progress of the asynchronous call. The result is a VerifyStringResult object which indicates if the string contains unacceptable text.

Implements

Microsoft.Xbox.Services.System.__IStringServicePublicNonVirtuals.VerifyStringAsync(System.String)

Remarks

Calls V2 GET /system/strings/validate

Applies to