Compartilhar via


ISpiDeviceStatics.FromIdAsync(String, SpiConnectionSettings) Método

Definição

Abre um dispositivo com as configurações de conexão fornecidas.

public:
 IAsyncOperation<SpiDevice ^> ^ FromIdAsync(Platform::String ^ busId, SpiConnectionSettings ^ settings);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SpiDevice> FromIdAsync(winrt::hstring const& busId, SpiConnectionSettings const& settings);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SpiDevice> FromIdAsync(string busId, SpiConnectionSettings settings);
function fromIdAsync(busId, settings)
Public Function FromIdAsync (busId As String, settings As SpiConnectionSettings) As IAsyncOperation(Of SpiDevice)

Parâmetros

busId
String

Platform::String

winrt::hstring

A ID do ônibus.

settings
SpiConnectionSettings

As configurações de conexão.

Retornos

O dispositivo SPI.

Atributos

Requisitos do Windows

Funcionalidades do aplicativo
lowLevel

Aplica-se a