Share via


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 분입니다.

적용 대상