IServerChannelSinkProvider.GetChannelData Method (IChannelDataStore)

 

Returns the channel data for the channel that the current sink is associated with.

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

[SecurityCriticalAttribute]
void GetChannelData(
	IChannelDataStore channelData
)

Parameters

channelData
Type: System.Runtime.Remoting.Channels.IChannelDataStore

A IChannelDataStore object in which the channel data is to be returned.

Exception Condition
SecurityException

The immediate caller does not have infrastructure permission.

string[] channelUri = new String[5];
IChannelDataStore myIChannelDataStore  = new ChannelDataStore(channelUri);
IChannelDataStore myIChannelDataStore1 = new ChannelDataStore(channelUri);
myIServerChannelSinkProvider.GetChannelData(myIChannelDataStore);
myIServerChannelSinkProvider1.GetChannelData(myIChannelDataStore1);

SecurityPermission

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

.NET Framework
Available since 1.1
Return to top
Show: