LifetimeServices.LeaseTime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the initial lease time span for an AppDomain.
public:
static property TimeSpan LeaseTime { TimeSpan get(); void set(TimeSpan value); };
public static TimeSpan LeaseTime { get; set; }
public static TimeSpan LeaseTime { get; [System.Security.SecurityCritical] set; }
static member LeaseTime : TimeSpan with get, set
[<set: System.Security.SecurityCritical>]
static member LeaseTime : TimeSpan with get, set
Public Shared Property LeaseTime As TimeSpan
Property Value
The initial lease TimeSpan for objects that can have leases in the AppDomain.
- Attributes
Exceptions
At least one of the callers higher in the callstack does not have permission to configure remoting types and channels. This exception is thrown only when setting the property value.
Remarks
The default lease time span is 5 minutes.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.