次の方法で共有


NSUrlSession.CreateBidirectionalStream メソッド

定義

オーバーロード

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

パラメーター

service
NSNetService

戻り値

属性

適用対象

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

パラメーター

hostname
String
port
System.System.IntPtr System.nativeint

戻り値

属性

適用対象