NSDistributedLock 构造函数

定义

重载

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
属性

适用于