Szerkesztés

Megosztás a következőn keresztül:


ClientSponsor Constructors

Definition

Initializes a new instance of the ClientSponsor class.

Overloads

ClientSponsor()

Initializes a new instance of the ClientSponsor class with default values.

ClientSponsor(TimeSpan)

Initializes a new instance of the ClientSponsor class with the renewal time of the sponsored object.

ClientSponsor()

Initializes a new instance of the ClientSponsor class with default values.

public:
 ClientSponsor();
public ClientSponsor ();
Public Sub New ()

Remarks

The default time by which the lifetime of a sponsored object is increased when renewal is requested to 2 minutes. For more information on the renewal time, see the LifetimeServices.RenewOnCallTime property.

Applies to

ClientSponsor(TimeSpan)

Initializes a new instance of the ClientSponsor class with the renewal time of the sponsored object.

public:
 ClientSponsor(TimeSpan renewalTime);
public ClientSponsor (TimeSpan renewalTime);
new System.Runtime.Remoting.Lifetime.ClientSponsor : TimeSpan -> System.Runtime.Remoting.Lifetime.ClientSponsor
Public Sub New (renewalTime As TimeSpan)

Parameters

renewalTime
TimeSpan

The TimeSpan by which to increase the lifetime of the sponsored objects when renewal is requested.

Applies to