IClientChannelSinkProvider.Next Property

 

Gets or sets the next sink provider in the channel sink provider chain.

Namespace:   System.Runtime.Remoting.Channels
Assembly:  mscorlib (in mscorlib.dll)

IClientChannelSinkProvider Next {
	[SecurityCriticalAttribute]
	get;
	[SecurityCriticalAttribute]
	set;
}

Property Value

Type: System.Runtime.Remoting.Channels.IClientChannelSinkProvider

The next sink provider in the channel sink provider chain.

Exception Condition
SecurityException

The immediate caller does not have infrastructure permission.

The following code example illustrates an implementation of this property.

public IClientChannelSinkProvider Next
{
    [SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.Infrastructure)]
    get
    {
        return(nextProvider);
    }
    [SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.Infrastructure)]
    set
    {
        nextProvider = value;
    }
}

SecurityPermission

for operating with infrastructure code. Demand value: SecurityAction.LinkDemand; Permission value: SecurityPermissionFlag.Infrastructure

.NET Framework
Available since 1.1
Return to top
Show: