function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
almas mahfooz 3almas mahfooz 3 

Passing parameter as "Data" to salesforce method from.net application

I have a slaesforce webservice (generated from WSDL) having method UpdateStatus(data AS myObjects) as WSResponse.
On checking myObjects
public partial class myObject {
        
        private string statusField;
        
        private string strIdField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string status {
            get {
                return this.statusField;
            }
            set {
                this.statusField = value;
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string strId {
            get {
                return this.strIdField;
            }
            set {
                this.strIdField = value;
            }
        }
    }

Now I want to know how can I call this method in C# and pass parameters to this myObjects?