File: system\runtime\remoting\icontributeobjectsink.cs
Project: ndp\clr\src\bcl\mscorlib.csproj (mscorlib)
// ==++==
// 
//   Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// ==--==
//  The IContributeObjectSink interface is implemented by 
//  context properties in a Context that wish to contribute 
//  an object specific interception sink on the server end of 
//  a remoting call.
//
namespace System.Runtime.Remoting.Contexts {
 
    using System.Runtime.InteropServices;
    using System.Runtime.Remoting.Messaging;   
    using System.Security.Permissions;
    using System;
    /// <internalonly/>
    [System.Runtime.InteropServices.ComVisible(true)]
    public interface IContributeObjectSink
    {
        /// <internalonly/>
        // Chain your message sink in front of the chain formed thus far and 
        // return the composite sink chain.
        // 
        [System.Security.SecurityCritical]  // auto-generated_required
        IMessageSink GetObjectSink(MarshalByRefObject obj, 
                                          IMessageSink nextSink);
    }
}