AcquiredLease 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AcquiredLease(String) |
建構函式 |
AcquiredLease(String, TimeSpan, String, DateTime) |
建構函式 |
AcquiredLease(String)
建構函式
public AcquiredLease (string resourceKey);
new Orleans.LeaseProviders.AcquiredLease : string -> Orleans.LeaseProviders.AcquiredLease
Public Sub New (resourceKey As String)
參數
- resourceKey
- String
適用於
AcquiredLease(String, TimeSpan, String, DateTime)
建構函式
public AcquiredLease (string resourceKey, TimeSpan duration, string token, DateTime startTimeUtc);
new Orleans.LeaseProviders.AcquiredLease : string * TimeSpan * string * DateTime -> Orleans.LeaseProviders.AcquiredLease
Public Sub New (resourceKey As String, duration As TimeSpan, token As String, startTimeUtc As DateTime)
參數
- resourceKey
- String
- duration
- TimeSpan
- token
- String
- startTimeUtc
- DateTime