共用方式為


PromptUserCallback Delegate

 

Represents a callback for a user prompt CIM operation.

Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public delegate CimResponseType PromptUserCallback(
    string message,
    CimPromptType promptType
)
public delegate CimResponseType PromptUserCallback(
    String^ message,
    CimPromptType promptType
)
type PromptUserCallback = 
    delegate of 
        message:string *
        promptType:CimPromptType -> CimResponseType
Public Delegate Function PromptUserCallback (
    message As String,
    promptType As CimPromptType
) As CimResponseType

Parameters

  • message
    Type: System.String

    The text to display for the prompt.

Return Value

Type: Microsoft.Management.Infrastructure.Options.CimResponseType

Returns a CimResponseType value that specifies the response to the CIM operation request.

See Also

Microsoft.Management.Infrastructure.Options Namespace

Return to top