MessageSurrogateFilter Delegate
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the RemotingSurrogateSelector class should ignore a particular IMessage property while creating an ObjRef for a MarshalByRefObject class.
public delegate bool MessageSurrogateFilter(System::String ^ key, System::Object ^ value);
public delegate bool MessageSurrogateFilter(string key, object value);
[System.Runtime.InteropServices.ComVisible(true)]
public delegate bool MessageSurrogateFilter(string key, object value);
type MessageSurrogateFilter = delegate of string * obj -> bool
[<System.Runtime.InteropServices.ComVisible(true)>]
type MessageSurrogateFilter = delegate of string * obj -> bool
Public Delegate Function MessageSurrogateFilter(key As String, value As Object) As Boolean
- key
- String
The key to a particular remoting message property.
- value
- Object
The value of a particular remoting message property.
true
if the RemotingSurrogateSelector class should ignore a particular IMessage property while creating an ObjRef for a MarshalByRefObject class.
- Attributes
The MessageSurrogateFilter delegate is intended for use only by the remoting infrastructure of the .NET Framework; you should not instantiate the delegate directly.
The Filter property of the RemotingSurrogateSelector class gets and sets a MessageSurrogateFilter instance.
Each key/value parameter pair is a remoting message property that belongs to the Properties property of the IMessage class.
Get |
Gets an object that represents the method represented by the specified delegate. |
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: