IServerChannelSinkProvider.GetChannelData(IChannelDataStore) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与当前接收器关联的信道的信道数据。
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)