Share via


OSLogStore.CreateStore Method

Definition

Overloads

CreateStore(NSUrl, NSError)

[Foundation.Export("storeWithURL:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static OSLog.OSLogStore? CreateStore(Foundation.NSUrl url, out Foundation.NSError? error);
[<Foundation.Export("storeWithURL:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateStore : Foundation.NSUrl * NSError -> OSLog.OSLogStore

Parameters

url
NSUrl
error
NSError

Returns

Attributes

Applies to

CreateStore(OSLogStoreScope, NSError)

[Foundation.Export("storeWithScope:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static OSLog.OSLogStore? CreateStore(OSLog.OSLogStoreScope scope, out Foundation.NSError? error);
[<Foundation.Export("storeWithScope:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateStore : OSLog.OSLogStoreScope * NSError -> OSLog.OSLogStore

Parameters

error
NSError

Returns

Attributes

Applies to