Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ChannelServices::CreateServerChannelSinkChain Method (IServerChannelSinkProvider^, IChannelReceiver^)

 

Creates a channel sink chain for the specified channel.

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

public:
[SecurityCriticalAttribute]
static IServerChannelSink^ CreateServerChannelSinkChain(
	IServerChannelSinkProvider^ provider,
	IChannelReceiver^ channel
)

Parameters

provider
Type: System.Runtime.Remoting.Channels::IServerChannelSinkProvider^

The first provider in the chain of sink providers that will create the channel sink chain.

channel
Type: System.Runtime.Remoting.Channels::IChannelReceiver^

The IChannelReceiver for which to create the channel sink chain.

Return Value

Type: System.Runtime.Remoting.Channels::IServerChannelSink^

A new channel sink chain for the specified channel.

Exception Condition
SecurityException

The immediate caller does not have infrastructure permission.

SecurityPermission

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft