Share via


INSFileProviderServiceSource Interface

Definition

Provides a communication channel between host applications and file provider extensions.

[Foundation.Protocol(Name="NSFileProviderServiceSource", WrapperType=typeof(FileProvider.NSFileProviderServiceSourceWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="MakeListenerEndpoint", ParameterByRef=new System.Boolean[] { true }, ParameterType=new System.Type[] { typeof(Foundation.NSError) }, ReturnType=typeof(Foundation.NSXpcListenerEndpoint), Selector="makeListenerEndpointAndReturnError:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="serviceName", IsProperty=true, IsRequired=true, IsStatic=false, Name="ServiceName", PropertyType=typeof(System.String), Selector="serviceName")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isRestricted", IsProperty=true, IsRequired=false, IsStatic=false, Name="Restricted", PropertyType=typeof(System.Boolean), Selector="restricted")]
public interface INSFileProviderServiceSource : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSFileProviderServiceSource", WrapperType=typeof(FileProvider.NSFileProviderServiceSourceWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="MakeListenerEndpoint", ParameterByRef=new System.Boolean[] { true }, ParameterType=new System.Type[] { typeof(Foundation.NSError) }, ReturnType=typeof(Foundation.NSXpcListenerEndpoint), Selector="makeListenerEndpointAndReturnError:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="serviceName", IsProperty=true, IsRequired=true, IsStatic=false, Name="ServiceName", PropertyType=typeof(System.String), Selector="serviceName")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isRestricted", IsProperty=true, IsRequired=false, IsStatic=false, Name="Restricted", PropertyType=typeof(System.Boolean), Selector="restricted")>]
type INSFileProviderServiceSource = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Restricted
ServiceName

Gets the unique service name.

Methods

Name Description
MakeListenerEndpoint(NSError)

Creates and returns an endpoint for communicating with the file provider extension.

Extension Methods

Name Description
GetRestricted(INSFileProviderServiceSource)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to