NSDistributedLock 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
NSDistributedLock(NSObjectFlag) | |
NSDistributedLock(IntPtr) | |
NSDistributedLock(String) |
NSDistributedLock(NSObjectFlag)
protected NSDistributedLock (Foundation.NSObjectFlag t);
new Foundation.NSDistributedLock : Foundation.NSObjectFlag -> Foundation.NSDistributedLock
参数
适用于
NSDistributedLock(IntPtr)
protected internal NSDistributedLock (IntPtr handle);
new Foundation.NSDistributedLock : nativeint -> Foundation.NSDistributedLock
参数
- handle
-
IntPtr
nativeint
适用于
NSDistributedLock(String)
[Foundation.Export("initWithPath:")]
[ObjCRuntime.DesignatedInitializer]
public NSDistributedLock (string path);
new Foundation.NSDistributedLock : string -> Foundation.NSDistributedLock
参数
- path
- String
- 属性