次の方法で共有


ILease.CurrentLeaseTime プロパティ

リースの残り時間を取得します。

ReadOnly Property CurrentLeaseTime As TimeSpan
[C#]
TimeSpan CurrentLeaseTime {get;}
[C++]
__property TimeSpan get_CurrentLeaseTime();
[JScript]
function get CurrentLeaseTime() : TimeSpan;

プロパティ値

リースの残り時間。

例外

例外の種類 条件
SecurityException 直前の呼び出し元は、インターフェイスへの参照を通じて呼び出しを実行します。この呼び出し元には、インフラストラクチャ アクセス許可がありません。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

ILease インターフェイス | ILease メンバ | System.Runtime.Remoting.Lifetime 名前空間