共用方式為


TextModerationScreenTextOptionalParams interface

選擇性參數。

Extends

屬性

autocorrect

自動更正文字。 默認值:false。

classify

分類輸入。 默認值:false。

language

文字的語言。

listId

清單標識碼。

pII

偵測個人標識資訊。 默認值:false。

繼承的屬性

abortSignal

可用來中止要求的訊號。

customHeaders

使用者定義自定義要求標頭,將在傳送要求之前套用。

onDownloadProgress

下載進度引發的回呼。

onUploadProgress

上傳進度時引發的回呼。

timeout

要求在自動終止之前可能需要的毫秒數。

屬性詳細資料

autocorrect

自動更正文字。 默認值:false。

autocorrect?: boolean

屬性值

boolean

classify

分類輸入。 默認值:false。

classify?: boolean

屬性值

boolean

language

文字的語言。

language?: string

屬性值

string

listId

清單標識碼。

listId?: string

屬性值

string

pII

偵測個人標識資訊。 默認值:false。

pII?: boolean

屬性值

boolean

繼承的屬性詳細資料

abortSignal

可用來中止要求的訊號。

abortSignal?: AbortSignalLike

屬性值

繼承自 msRest.RequestOptionsBase.abortSignal

customHeaders

使用者定義自定義要求標頭,將在傳送要求之前套用。

customHeaders?: {[key: string]: string}

屬性值

{[key: string]: string}

繼承自 msRest.RequestOptionsBase.customHeaders

onDownloadProgress

下載進度引發的回呼。

onDownloadProgress?: (progress: TransferProgressEvent) => void

屬性值

(progress: TransferProgressEvent) => void

繼承自 msRest.RequestOptionsBase.onDownloadProgress

onUploadProgress

上傳進度時引發的回呼。

onUploadProgress?: (progress: TransferProgressEvent) => void

屬性值

(progress: TransferProgressEvent) => void

繼承自 msRest.RequestOptionsBase.onUploadProgress

timeout

要求在自動終止之前可能需要的毫秒數。

timeout?: number

屬性值

number

繼承自 msRest.RequestOptionsBase.timeout