NSUrlSession.CreateBidirectionalStream メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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
戻り値
- 属性