Resmi Satish

Resmi Satish

  • NA
  • 110
  • 75.5k

Datamember- Datatypes

May 14 2014 7:58 AM
Hi

In our WCF service, there is a datamember of type object. Due to this datamember ,we are not able to access the method. ie the method is displaying with error while we run the service.

We have declared the datamember as

[DataMember]
    public object Value
    {
        get { return this.value; }
        set { this.value = value; }
}

When we comment out the above code, the method will start displaying without error.

Please refer the attached screen shot.

Any help from your side is appreciated.

Answers (5)