Bagikan melalui


IServerChannelSinkProvider.GetChannelData(IChannelDataStore) Metode

Definisi

Mengembalikan data saluran untuk saluran yang terkait dengan sink saat ini.

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)

Parameter

channelData
IChannelDataStore

Objek IChannelDataStore tempat data saluran akan dikembalikan.

Atribut

Pengecualian

Pemanggil langsung tidak memiliki izin infrastruktur.

Contoh

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)

Berlaku untuk