enum System.ServiceModel.CommunicationState:

   def enum
      Created = 0
      Opening = 1
      Opened = 2
      Closing = 3
      Closed = 4
      Faulted = 5.

end enum.
