ClientSponsor Constructors
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om