Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ContractBase.Renewal Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Requests a sponsoring client to renew the lease for the specified object.

Namespace:  System.AddIn.Pipeline
Assembly:  System.AddIn (in System.AddIn.dll)

[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.Infrastructure)]
public TimeSpan Renewal(
	ILease lease
)

Parameters

lease
Type: System.Runtime.Remoting.Lifetime.ILease

The lifetime lease object that is used by the remoting lifetime service.

Return Value

Type: System.TimeSpan
The renewed lease.

Implements

ISponsor.Renewal(ILease)

ExceptionCondition
ArgumentNullException

lease is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

  • LinkDemand 

    for full trust for the immediate caller. This member cannot be used by partially trusted code.

Show:
© 2015 Microsoft