Compartir a través de


IServerChannelSinkProvider.GetChannelData(IChannelDataStore) Método

Definición

Devuelve los datos de canal del canal al que está asociado el receptor actual.

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)

Parámetros

channelData
IChannelDataStore

Objeto IChannelDataStore en el que se van a devolver los datos del canal.

Atributos

Excepciones

El llamador inmediato no tiene permisos de infraestructura.

Ejemplos

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)

Se aplica a