Property
Meaning in Life
Action
Gets or sets the WS-Addressing action of the request message.
AsyncPattern
Indicates if the operation is implemented asynchronously using a Begin/End
method pair on the service. This allows the service to offload processing to
another server-side thread; this has nothing to do with the client calling the
method asynchronously!
IsInitiating
Specifies if this operation can be the initial operation in a session.
IsOneWay
Indicates if the operation consists of only a single input message (and no
associated output).
IsTerminating
Specifies if the WCF runtime should attempt to terminate the current session
after the operation completes.
For this initial example, we don’t need to configure the ObtainAnswerToQuestion() method with
additional traits, so the [OperationContract] attribute can be used as currently defined.
Do'stlaringiz bilan baham: |