Namespace: ctAC
Assembly: ctAC (in ctAC.dll)

Syntax

Visual Basic (Declaration)
<SoapHeaderAttribute("myCTACHeader", Direction := SoapHeaderDirection.In), _
 WebMethodAttribute(Description := "Save a new customer. This should be used when creating a new customer", MessageName := "saveNewCustomer")>

Public Function saveNewCustomer( _ 
   ByVal inCust As customer,  _ 
   ByVal raiseBusinessRuleViolations As Boolean _ 
) As customer
C#
[SoapHeaderAttribute("myCTACHeader", Direction = SoapHeaderDirection.In)]
[WebMethodAttribute(Description = "Save a new customer. This should be used when creating a new customer", MessageName = "saveNewCustomer")]
public customer saveNewCustomer(
   customer inCust,
   bool raiseBusinessRuleViolations
)
C++
[SoapHeaderAttribute(L"myCTACHeader", Direction = SoapHeaderDirection::In)]
[WebMethodAttribute(Description = L"Save a new customer. This should be used when creating a new customer", MessageName = L"saveNewCustomer")]
public:
 customer saveNewCustomer(
   customer inCust,
   bool raiseBusinessRuleViolations
) sealed 
J#
/** @attribute SoapHeaderAttribute("myCTACHeader", Direction = SoapHeaderDirection.In) */
/** @attribute WebMethodAttribute(Description = "Save a new customer. This should be used when creating a new customer", MessageName = "saveNewCustomer") */
public customer saveNewCustomer(
   customer inCust,
   bool raiseBusinessRuleViolations
)
JScript
public 

   SoapHeaderAttribute("myCTACHeader", Direction = SoapHeaderDirection.In)
   WebMethodAttribute(Description = "Save a new customer. This should be used when creating a new customer", MessageName = "saveNewCustomer")
function saveNewCustomer(
   inCust : customer,
   raiseBusinessRuleViolations : bool
) : customer

See Also