System.Runtime.Remoting.Messaging.MessageSurrogateFilter Delegate

Determines whether the System.Runtime.Remoting.Messaging.RemotingSurrogateSelector class should ignore a particular System.Runtime.Remoting.Messaging.IMessage property while creating an System.Runtime.Remoting.ObjRef for a MarshalByRefObject class.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public delegate bool MessageSurrogateFilter (string key, object value)

Parameters

key
Documentation for this section has not yet been entered.
value
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

The System.Runtime.Remoting.Messaging.MessageSurrogateFilter delegate is intended for use only by the remoting infrastructure of the .NET Framework; you should not instantiate the delegate directly.

The RemotingSurrogateSelector.Filter property of the System.Runtime.Remoting.Messaging.RemotingSurrogateSelector class gets and sets a System.Runtime.Remoting.Messaging.MessageSurrogateFilter instance.

Each key/value parameter pair is a remoting message property that belongs to the IMessage.Properties property of the System.Runtime.Remoting.Messaging.IMessage class.

Requirements

Namespace: System.Runtime.Remoting.Messaging
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0