다음을 통해 공유


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

반환

특성

적용 대상