Share via


INSStreamDelegate Interface

Definition

This interface represents the Objective-C protocol NSStreamDelegate.

[Foundation.Protocol(Name="NSStreamDelegate", WrapperType=typeof(Foundation.NSStreamDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="HandleEvent", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSStream), typeof(Foundation.NSStreamEvent) }, Selector="stream:handleEvent:")]
public interface INSStreamDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSStreamDelegate", WrapperType=typeof(Foundation.NSStreamDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="HandleEvent", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSStream), typeof(Foundation.NSStreamEvent) }, Selector="stream:handleEvent:")>]
type INSStreamDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
HandleEvent(NSStream, NSStreamEvent)

Extension Methods

Name Description
HandleEvent(INSStreamDelegate, NSStream, NSStreamEvent)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to