Language

CFWriteStream Class

Definition

A CFStream that writes streams of bytes.

public class CFWriteStream : CoreFoundation.CFStream
type CFWriteStream = class
    inherit CFStream
Inheritance

Properties

Name Description
Handle (Inherited from DisposableObject)
Owns (Inherited from DisposableObject)
ReadDispatchQueue (Inherited from CFStream)
WriteDispatchQueue (Inherited from CFStream)

Methods

Name Description
CanAcceptBytes()
CheckError() (Inherited from CFStream)
ClearHandle() (Inherited from DisposableObject)
Close() (Inherited from CFStream)
Dispose()

Releases all resources used by this object.

(Inherited from DisposableObject)
Dispose(Boolean)

Releases the resources used by the CFStream object.

(Inherited from CFStream)
DoClose()
DoGetProperty(NSString)
DoGetStatus()
DoOpen()
DoSetClient(CFStream+CFStreamCallback, IntPtr, IntPtr)
DoSetClient(delegate* unmanaged<IntPtr, IntPtr, IntPtr, Void>, IntPtr, IntPtr)
DoSetProperty(NSString, INativeObject)
EnableEvents(CFRunLoop, NSString) (Inherited from CFStream)
Equals(Object) (Inherited from DisposableObject)
GetCheckedHandle() (Inherited from DisposableObject)
GetDescription(IntPtr)

Returns a textual representation of the specified object.

(Inherited from CFType)
GetError()
GetHashCode() (Inherited from DisposableObject)
GetStatus() (Inherited from CFStream)
InitializeHandle(NativeHandle) (Inherited from DisposableObject)
OnCallback(CFStreamEventType) (Inherited from CFStream)
OnCanAcceptBytesEvent(CFStream+StreamEventArgs) (Inherited from CFStream)
OnClosedEvent(CFStream+StreamEventArgs) (Inherited from CFStream)
OnErrorEvent(CFStream+StreamEventArgs) (Inherited from CFStream)
OnHasBytesAvailableEvent(CFStream+StreamEventArgs) (Inherited from CFStream)
OnOpenCompleted(CFStream+StreamEventArgs) (Inherited from CFStream)
Open() (Inherited from CFStream)
Release() (Inherited from NativeObject)
Retain() (Inherited from NativeObject)
ScheduleWithRunLoop(CFRunLoop, NSString)
UnscheduleFromRunLoop(CFRunLoop, NSString)
Write(Byte[], IntPtr, IntPtr)
Write(Byte[])

Events

Name Description
CanAcceptBytesEvent

Raised when the stream can accept bytes to be written without blocking.

(Inherited from CFStream)
ClosedEvent

Raised when the end of the stream is reached and it has been closed.

(Inherited from CFStream)
ErrorEvent

Raised when an error occurs on the stream.

(Inherited from CFStream)
HasBytesAvailableEvent

Raised when the stream has bytes available to be read.

(Inherited from CFStream)
OpenCompletedEvent

Raised when the stream finishes opening and is ready for use.

(Inherited from CFStream)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to