/// <summary> /// Create a new SIPRegistrarBinding object. /// </summary> /// <param name="contactURI">Initial value of the ContactURI property.</param> /// <param name="expiry">Initial value of the Expiry property.</param> /// <param name="expiryTime">Initial value of the ExpiryTime property.</param> /// <param name="id">Initial value of the ID property.</param> /// <param name="lastUpdate">Initial value of the LastUpdate property.</param> /// <param name="owner">Initial value of the Owner property.</param> /// <param name="registrarSIPSocket">Initial value of the RegistrarSIPSocket property.</param> /// <param name="remoteSIPSocket">Initial value of the RemoteSIPSocket property.</param> /// <param name="sIPAccountID">Initial value of the SIPAccountID property.</param> /// <param name="sIPAccountName">Initial value of the SIPAccountName property.</param> public static SIPRegistrarBinding CreateSIPRegistrarBinding(global::System.String contactURI, global::System.Int32 expiry, global::System.String expiryTime, global::System.String id, global::System.String lastUpdate, global::System.String owner, global::System.String registrarSIPSocket, global::System.String remoteSIPSocket, global::System.String sIPAccountID, global::System.String sIPAccountName) { SIPRegistrarBinding sIPRegistrarBinding = new SIPRegistrarBinding(); sIPRegistrarBinding.ContactURI = contactURI; sIPRegistrarBinding.Expiry = expiry; sIPRegistrarBinding.ExpiryTime = expiryTime; sIPRegistrarBinding.ID = id; sIPRegistrarBinding.LastUpdate = lastUpdate; sIPRegistrarBinding.Owner = owner; sIPRegistrarBinding.RegistrarSIPSocket = registrarSIPSocket; sIPRegistrarBinding.RemoteSIPSocket = remoteSIPSocket; sIPRegistrarBinding.SIPAccountID = sIPAccountID; sIPRegistrarBinding.SIPAccountName = sIPAccountName; return sIPRegistrarBinding; }
/// <summary> /// Deprecated Method for adding a new object to the SIPRegistrarBindings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSIPRegistrarBindings(SIPRegistrarBinding sIPRegistrarBinding) { base.AddObject("SIPRegistrarBindings", sIPRegistrarBinding); }