The Labs \ Source Viewer \ SSCLI \ System.Runtime.Remoting.Contexts \ IContributeClientContextSink

  1. // ==++==
  2. //
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. //
  14. // ==--==
  15. // The IContributeClientContextSink interface is implemented by
  16. // context properties in a Context that wish to contribute
  17. // an interception sink at the context boundary on the client end
  18. // of a remoting call.
  19. //
  20. namespace System.Runtime.Remoting.Contexts
  21. {
  22.    
  23.     using System;
  24.     using System.Runtime.Remoting.Messaging;
  25.     using System.Security.Permissions;
  26.     /// <internalonly/>
  27.     [System.Runtime.InteropServices.ComVisible(true)]
  28.     public interface IContributeClientContextSink
  29.     {
  30.         /// <internalonly/>
  31.         // Chain your message sink in front of the chain formed thus far and
  32.         // return the composite sink chain.
  33.         //
  34.        
  35.         [SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.Infrastructure)]
  36.         IMessageSink GetClientContextSink(IMessageSink nextSink);
  37.     }
  38. }

Developer Fusion