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