Edit

Share via


maybe attribute

The keyword [maybe] indicates that the remote procedure call does not need to execute every time it is called and the client does not expect a response. Note that the [maybe] protocol ensures neither delivery nor completion of the call.

[
    interface-attribute-list
] 
interface interface-name 
{
    [maybe [, attribute-list]] returntype function-name(params)
}

Parameters

interface-attribute-list

Specifies a list of zero or more IDL attributes that apply to the interface as a whole. When two or more interface attributes are present, they must be separated by commas.

interface-name

Specifies the name of the interface.

attribute-list

Specifies additional attributes to be applied to the function. Separate multiple attributes with commas.

returntype

Specifies the return type of the function.

function-name

Specifies the name of the function to which the [maybe] attribute will be applied.

params

Function parameter list.

Remarks

A call with the [maybe] attribute cannot contain output parameters and is implicitly an [idempotent] call.

See also

broadcast

idempotent

Interface Definition (IDL) File