Share via


MembershipSection.UserIsOnlineTimeWindow プロパティ

定義

ユーザーがオンラインでないと考えられるまでの時間 (分単位) を取得または設定します。

public:
 property TimeSpan UserIsOnlineTimeWindow { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanMinutesConverter))]
[System.Configuration.ConfigurationProperty("userIsOnlineTimeWindow", DefaultValue="00:15:00")]
[System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:01:00")]
public TimeSpan UserIsOnlineTimeWindow { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanMinutesConverter))>]
[<System.Configuration.ConfigurationProperty("userIsOnlineTimeWindow", DefaultValue="00:15:00")>]
[<System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:01:00")>]
member this.UserIsOnlineTimeWindow : TimeSpan with get, set
Public Property UserIsOnlineTimeWindow As TimeSpan

プロパティ値

時間 (分単位)。

属性

次のコード例では、 プロパティの使用方法を UserIsOnlineTimeWindow 示します。 このコード例は、MembershipSection クラスのために提供されている大規模な例の一部です。

// Display UserIsOnlineTimeWindow value.
Console.WriteLine("UserIsOnlineTimeWindow: {0}", 
  configSection.UserIsOnlineTimeWindow);
' Display UserIsOnlineTimeWindow value.
Console.WriteLine("UserIsOnlineTimeWindow: {0}", _
 configSection.UserIsOnlineTimeWindow)

注釈

プロパティの値は、現在の UserIsOnlineTimeWindow 時刻から プロパティを引いた値とユーザーの UserIsOnlineTimeWindow 値を LastActivityDate 比較することによって計算されます。

適用対象