IClientChannelSinkProvider.CreateSink メソッド
アセンブリ: mscorlib (mscorlib.dll 内)

Function CreateSink ( _ channel As IChannelSender, _ url As String, _ remoteChannelData As Object _ ) As IClientChannelSink
Dim instance As IClientChannelSinkProvider Dim channel As IChannelSender Dim url As String Dim remoteChannelData As Object Dim returnValue As IClientChannelSink returnValue = instance.CreateSink(channel, url, remoteChannelData)
function CreateSink ( channel : IChannelSender, url : String, remoteChannelData : Object ) : IClientChannelSink
- url
接続先のオブジェクトの URL。接続が remoteChannelData パラメータに格納されている情報に完全に基づいている場合、このパラメータには null 参照 (Visual Basic では Nothing) を指定できます。
新しく形成されたチャネル シンク チェーンの最初のシンク。または、このプロバイダがこのエンドポイントの接続を提供しないか提供できないことを示す null 参照 (Visual Basic では Nothing)。


CreateSink メソッドを呼び出した場合、このメソッドは独自のチャネル シンクを作成し、チェイン内に次のシンク プロバイダがある場合はそのプロバイダに CreateSink の呼び出しを転送して、次のシンクと現在のシンクが確実にリンクされるようにします。

[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.Infrastructure)] public IClientChannelSink CreateSink (IChannelSender channel, String url, Object remoteChannelData) { Console.WriteLine("Creating ClientSink for {0}", url); // Create the next sink in the chain. IClientChannelSink nextSink = nextProvider.CreateSink(channel, url, remoteChannelData); // Hook our sink up to it. return( new ClientSink(nextSink) ); }
virtual IClientChannelSink^ CreateSink( IChannelSender^ channel, String^ url, Object^ remoteChannelData ) { Console::WriteLine( "Creating ClientSink for {0}", url ); // Create the next sink in the chain. IClientChannelSink^ nextSink = nextProvider->CreateSink( channel, url, remoteChannelData ); // Hook our sink up to it. return (gcnew ClientSink( nextSink )); }
public IClientChannelSink CreateSink(IChannelSender channel, String url, Object remoteChannelData) { Console.WriteLine("Creating ClientSink for {0}", url); // Create the next sink in the chain. IClientChannelSink nextSink = nextProvider.CreateSink(channel, url, remoteChannelData); // Hook our sink up to it. return new ClientSink(nextSink); } //CreateSink


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からIClientChannelSinkProvider.CreateSink メソッドを検索する場合は、下記のリンクをクリックしてください。

- IClientChannelSinkProvider.CreateSink メソッドのページへのリンク