ArcFM Responder Mobile Developer Guide
WithHazard Method






Type of Hazard
Optional: The remarks on the hazard
Optional: the time public safety arrived on site.
Add hazard on same feature as the customer call
Syntax
'Declaration
 
Public Function WithHazard( _
   ByVal type As HazardTypeDomain, _
   Optional ByVal remarks As System.String, _
   Optional ByVal timePublicSafetyArr As System.Nullable(Of Date) _
) As SubmitCallCommand
'Usage
 
Dim instance As SubmitCallCommand
Dim type As HazardTypeDomain
Dim remarks As System.String
Dim timePublicSafetyArr As System.Nullable(Of Date)
Dim value As SubmitCallCommand
 
value = instance.WithHazard(type, remarks, timePublicSafetyArr)
public SubmitCallCommand WithHazard( 
   HazardTypeDomain type,
   System.string remarks,
   System.Nullable<DateTime> timePublicSafetyArr
)
public function WithHazard( 
    type: HazardTypeDomain;
    remarks: System.String;
    timePublicSafetyArr: System.Nullable
): SubmitCallCommand; 
public function WithHazard( 
   type : HazardTypeDomain,
   remarks : System.String,
   timePublicSafetyArr : System.Nullable
) : SubmitCallCommand;
public: SubmitCallCommand* WithHazard( 
   HazardTypeDomain type,
   System.string* remarks,
   System.Nullable<DateTime> timePublicSafetyArr
) 
public:
SubmitCallCommand^ WithHazard( 
   HazardTypeDomain type,
   System.String^ remarks,
   System.Nullable<DateTime> timePublicSafetyArr
) 

Parameters

type
Type of Hazard
remarks
Optional: The remarks on the hazard
timePublicSafetyArr
Optional: the time public safety arrived on site.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SubmitCallCommand Class
SubmitCallCommand Members

Send Feedback