System.ServiceModel 4.0.0.0 System.Object System.Diagnostics.DebuggerDisplay("Name={name}, IsInitiating={isInitiating}, IsTerminating={isTerminating}")

A indigo1 contract is a collection of operations that specifies what the endpoint communicates to the outside world. Each operation is a message exchange. For example, a request message and an associated reply message forming a request/reply message exchange.

A object is used to describe contracts and their operations. Within a , each contract operation has a corresponding that describes aspects of the operation, such as whether the operation is one-way or request/reply. Each also describes the messages that make up the operation using a collection of objects. contains a reference to an interface that defines the contract using the programming model. This interface is marked with , and its methods that correspond to endpoint operations are marked with .

Many of the properties on have corresponding properties in the indigo2 programming model on , for example, .

Represents the description of a contract operation that provides a description of the messages that make up the operation.

- Constructor
  4.0.0.0
  To be added.

  Initializes a new instance of the class with a specified name and contract description.

  The name of the operation description.
  The used to initialize the operation description.
- Property
  4.0.0.0
  System.Reflection.MethodInfo To be added. To be added.

  Gets or sets the begin method of the operation.

- Property
  4.0.0.0
  System.Collections.Generic.KeyedByTypeCollection<System.ServiceModel.Description.IOperationBehavior> To be added.

  The interface is implemented to modify, examine, or extend some aspect of operation-wide execution at the application level for either client or service applications.

  Gets or sets the operation behaviors associated with the operation.

- Property
  4.0.0.0
  System.ServiceModel.Description.ContractDescription To be added. To be added.

  Gets or sets the contract to which the operation belongs.

- Property
  4.0.0.0
  System.Reflection.MethodInfo To be added. To be added.

  Gets or sets the end method of the operation.

- Property
  4.0.0.0
  System.ServiceModel.Description.FaultDescriptionCollection To be added. To be added.

  Gets the descriptions of the faults associated with the operation description.

- Property
  4.0.0.0
  System.Boolean To be added.

  When the is set, the property is set to true.

  corresponds to the property in the indigo1 programming model.

  Use the property to indicate that a specific protection level is required by the messages of this operation.

  Gets a value that indicates whether the operation has had a protection level set.

- Property
  4.0.0.0
  System.Boolean To be added.

  The property controls whether an operation can be the first operation called when a session is created.

  The value of must be true and the binding used must support sessions for the property to work properly.

  The default is true, which means that an operation can be the first one called on a channel. Subsequent calls to the initiating method have no effect, other than to call the method. No other sessions are created.

  Typically, you set to false to force clients to call another method on the service before they can invoke this one.

  corresponds to the property in the indigo1 programming model.

  Gets or sets a value that indicates whether the method implements an operation that can initiate a session on the server (if such a session exists).

- Property
  4.0.0.0
  System.Boolean To be added.

  Use the property to indicate that an operation does not return a reply message. This type of operation is useful for notifications or event-style communication, especially in two-way communication.

  If the property is set to false (the default), even methods that return void result in a reply message. In this case, the infrastructure creates and sends an empty message to indicate to the caller that the method has returned.

  corresponds to the property in the indigo1 programming model.

  Gets or sets a value that indicates whether an operation returns a reply message.

- Property
  4.0.0.0
  System.Boolean To be added.

  Use the property to indicate that calling a service operation terminates the communication session.

  corresponds to the property in the indigo1 programming model.

  Gets or sets a value that indicates whether the service operation causes the server to close the session after the reply message, if any, is sent.

- Property
  4.0.0.0
  System.Collections.ObjectModel.Collection<System.Type> To be added.

  The known types are types which may be present in an object graph when serialization or deserialization occurs. For more information about known types, see Data Contract Known Types.

  Gets the known types associated with the operation description.

- Property
  4.0.0.0
  System.ServiceModel.Description.MessageDescriptionCollection To be added. To be added.

  Gets or sets the descriptions of the messages that make up the operation.

- Property
  4.0.0.0
  System.String To be added.

  The property overrides the <operation> element name in WSDL. The default operation name is the name of the implementing method.

  Gets or sets the name of the operation description.

- Property
  4.0.0.0
  System.Collections.ObjectModel.KeyedCollection<System.Type,System.ServiceModel.Description.IOperationBehavior> To be added. To be added.

  Gets the set of behaviors for the operation.

- Property
  4.0.0.0
  System.Net.Security.ProtectionLevel To be added.

  The property controls whether the messages of an operation must be encrypted, signed, or both. The value set here is the default value for all messages specified for this operation unless a narrower scope overrides this value.

  corresponds to the property in the indigo1 programming model.

  When the is set, the property is set to true.

  Gets or sets the protection level for the operation.

- Property
  4.0.0.0
  System.Reflection.MethodInfo To be added. To be added.

  Gets or sets the service synchronization method of the operation description.

- Property
  4.0.0.0
  System.Reflection.MethodInfo To be added. To be added.

  Gets or sets the method used for the task operation.