IServerChannelSinkProvider.GetChannelData(IChannelDataStore) 方法

定义

返回与当前接收器关联的信道的信道数据。

public:
 void GetChannelData(System::Runtime::Remoting::Channels::IChannelDataStore ^ channelData);
public void GetChannelData (System.Runtime.Remoting.Channels.IChannelDataStore channelData);
[System.Security.SecurityCritical]
public void GetChannelData (System.Runtime.Remoting.Channels.IChannelDataStore channelData);
abstract member GetChannelData : System.Runtime.Remoting.Channels.IChannelDataStore -> unit
[<System.Security.SecurityCritical>]
abstract member GetChannelData : System.Runtime.Remoting.Channels.IChannelDataStore -> unit
Public Sub GetChannelData (channelData As IChannelDataStore)

参数

channelData
IChannelDataStore

将在其中返回信道数据的 IChannelDataStore 对象。

属性

例外

直接调用方没有基础结构权限。

示例

array<String^>^channelUri = gcnew array<String^>(5);
IChannelDataStore^ myIChannelDataStore = gcnew ChannelDataStore( channelUri );
IChannelDataStore^ myIChannelDataStore1 = gcnew ChannelDataStore( channelUri );
myIServerChannelSinkProvider->GetChannelData( myIChannelDataStore );
myIServerChannelSinkProvider1->GetChannelData( myIChannelDataStore1 );
string[] channelUri = new String[5];
IChannelDataStore myIChannelDataStore  = new ChannelDataStore(channelUri);
IChannelDataStore myIChannelDataStore1 = new ChannelDataStore(channelUri);
myIServerChannelSinkProvider.GetChannelData(myIChannelDataStore);
myIServerChannelSinkProvider1.GetChannelData(myIChannelDataStore1);
Dim channelUri() As String = New String(4) {}
Dim myIChannelDataStore = New ChannelDataStore(channelUri)
Dim myIChannelDataStore1 = New ChannelDataStore(channelUri)
myIServerChannelSinkProvider.GetChannelData(myIChannelDataStore)
myIServerChannelSinkProvider1.GetChannelData(myIChannelDataStore1)

适用于