Partager via


IDeviceCollection Interface

Definition

Represents the operations that can be done on the partner's devices.

public interface IDeviceCollection : Microsoft.Store.PartnerCenter.GenericOperations.IEntireEntityCollectionRetrievalOperations<Microsoft.Store.PartnerCenter.Models.DevicesDeployment.Device,Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.DevicesDeployment.Device>>, Microsoft.Store.PartnerCenter.GenericOperations.IEntityCreateOperations<System.Collections.Generic.IEnumerable<Microsoft.Store.PartnerCenter.Models.DevicesDeployment.Device>,string>, Microsoft.Store.PartnerCenter.GenericOperations.IEntitySelector<Microsoft.Store.PartnerCenter.DevicesDeployment.IDevice>, Microsoft.Store.PartnerCenter.IPartnerComponent<Tuple<string,string>>
type IDeviceCollection = interface
    interface IPartnerComponent<string * string>
    interface IEntireEntityCollectionRetrievalOperations<Device, ResourceCollection<Device>>
    interface IEntityCreateOperations<seq<Device>, string>
    interface IEntitySelector<IDevice>
Public Interface IDeviceCollection
Implements IEntireEntityCollectionRetrievalOperations(Of Device, ResourceCollection(Of Device)), IEntityCreateOperations(Of IEnumerable(Of Device), String), IEntitySelector(Of IDevice), IPartnerComponent(Of Tuple(Of String, String))
Implements

Properties

Context

Gets the component context object.

(Inherited from IPartnerComponent<TContext>)
Item[String]

Retrieves a specific customer's device behavior.

Partner

Gets a reference to the partner operations instance that generated this component.

(Inherited from IPartnerComponent<TContext>)

Methods

ById(String)

Retrieves a specific customer's device behavior.

Create(IEnumerable<Device>)

Adds devices to existing devices batch.

Create(T)

Creates a new entity.

(Inherited from IEntityCreateOperations<T,T1>)
CreateAsync(IEnumerable<Device>)

Asynchronously adds devices to existing devices batch.

CreateAsync(T)

Asynchronously creates a new entity.

(Inherited from IEntityCreateOperations<T,T1>)
Get()

Retrieves all devices.

GetAsync()

Asynchronously retrieves all devices.

Applies to