Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SendOrPostCallback Delegate
Definition
- Namespace:
- System.Threading
- Assemblies:
- mscorlib.dll, System.Threading.dll
- Assemblies:
- netstandard.dll, System.Threading.dll
- Assembly:
- System.Threading.dll
- Assembly:
- mscorlib.dll
- Assembly:
- netstandard.dll
- Source:
- SendOrPostCallback.cs
- Source:
- SendOrPostCallback.cs
- Source:
- DictionaryEntry.cs
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.
Represents a method to be called when a message is to be dispatched to a synchronization context.
public delegate void SendOrPostCallback(System::Object ^ state);
public delegate void SendOrPostCallback(object state);
public delegate void SendOrPostCallback(object? state);
type SendOrPostCallback = delegate of obj -> unit
Public Delegate Sub SendOrPostCallback(state As Object)
Parameters
- state
- Object
The object passed to the delegate.
Remarks
SendOrPostCallback represents a callback method that you want to execute when a message is to be dispatched to a synchronization context. Create the delegate by passing your callback method to the SendOrPostCallback constructor. Your method must have the signature shown here.
Extension Methods
| Name | Description |
|---|---|
| GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |
Applies to
Feedback
Was this page helpful?
