共用方式為


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

適用於