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.StringThe text to display for the prompt.
promptType
Type: Microsoft.Management.Infrastructure.Options.CimPromptTypeThe type of prompt. The type is either Critical or Normal
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