LifetimeServices.LeaseTime 속성

정의

에 대한 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

속성 값

에 임대 TimeSpan 를 가질 수 있는 개체에 대한 초기 임대 AppDomain입니다.

특성

예외

호출 스택에서 더 높은 호출자 중 하나 이상에는 원격 유형 및 채널을 구성할 수 있는 권한이 없습니다. 이 예외는 속성 값을 설정할 때만 throw됩니다.

설명

기본 임대 시간 범위는 5분입니다.

적용 대상