Partilhar via


Construtor SyncLockWithStatusT::SyncLockWithStatusT

Oferece suporte à infraestrutura de WRL e não deve ser usado diretamente no seu código.

SyncLockWithStatusT(
   _Inout_ SyncLockWithStatusT&& other
);

explicit SyncLockWithStatusT(
   typename SyncTraits::Type sync,
   DWORD status
);

Parâmetros

  • other
    Uma rvalue- referência a outro objeto de SyncLockWithStatusT.

  • sync
    Uma referência a outro objeto de SyncLockWithStatusT.

  • status
    O valor do membro de dados de status_ do parâmetro de other ou parâmetro de sync .

Comentários

Inicializa uma nova instância da classe de SyncLockWithStatusT.

O primeiro construtor inicializa o objeto atual de SyncLockWithStatusT de outro SyncLockWithStatusT especificado pelo parâmetro other, e invalida em outro objeto de SyncLockWithStatusT. O segundo construtor é protected, e inicializa o objeto atual de SyncLockWithStatusT a um estado inválido.

Requisitos

Cabeçalho: corewrappers.h

Namespace: Microsoft::WRL::Wrappers::Details

Consulte também

Referência

Classe SyncLockWithStatusT

Método SyncLockWithStatusT::GetStatus