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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για