NSInputStream.SetCFClientFlags(CFStreamEventType, IntPtr, IntPtr) Method
Definition
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.
Adds a client for the stream. This method is not supposed to be called by managed code, it will be called by consumers of the stream. When overriding it make sure to call the base implementation.
[Foundation.Export("_setCFClientFlags:callback:context:")]
protected virtual bool SetCFClientFlags (CoreFoundation.CFStreamEventType inFlags, IntPtr inCallback, IntPtr inContextPtr);
abstract member SetCFClientFlags : CoreFoundation.CFStreamEventType * nativeint * nativeint -> bool
override this.SetCFClientFlags : CoreFoundation.CFStreamEventType * nativeint * nativeint -> bool
Parameters
- inFlags
- CFStreamEventType
Flags.
- inCallback
-
IntPtr
nativeint
The callbacks to call when events occur.
- inContextPtr
-
IntPtr
nativeint
User-defined data for the callback.
Returns
- Attributes