WebEventBufferFlushInfo.NotificationSequence 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取当前通知中的消息序列。
public:
property int NotificationSequence { int get(); };
public int NotificationSequence { get; }
member this.NotificationSequence : int
Public ReadOnly Property NotificationSequence As Integer
属性值
指示当前通知中消息序列顺序的数字,以零索引开头。
示例
下面的代码示例说明如何使用 NotificationSequence 属性。 此代码示例是为 BufferedWebEventProvider 类提供的一个更大示例的一部分。
private int GetNotificationSequence(
WebEventBufferFlushInfo flushInfo)
{
return flushInfo.NotificationSequence;
}
Private Function GetNotificationSequence(ByVal flushInfo _
As WebEventBufferFlushInfo) As Integer
Return flushInfo.NotificationSequence
End Function 'GetNotificationSequence
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈