Udostępnij za pośrednictwem


ChatRestoreHistorySpan Enum

Definition

Indicates the chat restore history span.

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

Windows requirements

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

Fields

Name Value Description
LastMonth 0

Only messages from last month will be restored.

LastYear 1

Only messages from last year will be restored.

AnyTime 2

All messages will be restored.

Applies to