Compartir a través de


NSUrlSession.CreateBidirectionalStream Método

Definición

Sobrecargas

CreateBidirectionalStream(NSNetService)
CreateBidirectionalStream(String, nint)

CreateBidirectionalStream(NSNetService)

[Foundation.Export("streamTaskWithNetService:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSUrlSessionStreamTask CreateBidirectionalStream (Foundation.NSNetService service);
abstract member CreateBidirectionalStream : Foundation.NSNetService -> Foundation.NSUrlSessionStreamTask
override this.CreateBidirectionalStream : Foundation.NSNetService -> Foundation.NSUrlSessionStreamTask

Parámetros

service
NSNetService

Devoluciones

Atributos

Se aplica a

CreateBidirectionalStream(String, nint)

[Foundation.Export("streamTaskWithHostName:port:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSUrlSessionStreamTask CreateBidirectionalStream (string hostname, nint port);
abstract member CreateBidirectionalStream : string * nint -> Foundation.NSUrlSessionStreamTask
override this.CreateBidirectionalStream : string * nint -> Foundation.NSUrlSessionStreamTask

Parámetros

hostname
String
port
System.System.IntPtr System.nativeint

Devoluciones

Atributos

Se aplica a