For the complete documentation index, see llms.txt. This page is also available as Markdown.

Invoke-UDEndpoint

SYNOPSIS

Invoca direttamente un endpoint.

SINTASSI

Invoke-UDEndpoint -Id <String> [-Session] [-Wait] [<CommonParameters>]

DESCRIZIONE

Invoca direttamente un endpoint. Ad esempio, può essere utilizzato per eseguire i gestori OnClick dei pulsanti.

ESEMPI

Esempio 1

New-UDButton -Text "Click Me" -OnClick {
    Show-UDToast "I was clicked!"
} -Id 'Button'

New-UDButton -Text "Invoke Me" -OnClick {
    Invoke-UDEndpoint -Id 'Button'
}

Fare clic su un pulsante tramite un altro.

PARAMETRI

-Id

L'ID dell'endpoint da invocare.

-Session

Se includere le informazioni sulla sessione utente quando si invoca l'endpoint.

-Wait

Se attendere l'esecuzione dell'endpoint prima di continuare.

CommonParameters

Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable e -ProgressAction. Per maggiori informazioni, veda about_CommonParameters.

INPUT

Nessuno

OUTPUT

System.Object

NOTE

COLLEGAMENTI CORRELATI

Ultimo aggiornamento

È stato utile?