R
Rohan Danushka
Guest
Hello,
Please Help me to find fix for below example. Warning CA1303 (FxCop)
Sample Code:
Private Sub Timer2_Tick(sender As Object, e As EventArgs) Handles Timer2.Tick
If K9Core.CheckInternetConn = True Then
tsslblIntSta.ForeColor = Color.Green
tsslblIntSta.Text = "ONLINE" 'Warning CA1303
ElseIf K9Core.CheckInternetConn = False Then
tsslblIntSta.ForeColor = Color.Red
tsslblIntSta.Text = "OFFLINE" 'Warning CA1303
End If
End Sub
And also I need to know, Can I ignore these FxCop Warning. is that ok with Application structure
Thank you...
Rohan!~
RohanD
Continue reading...
Please Help me to find fix for below example. Warning CA1303 (FxCop)
Sample Code:
Private Sub Timer2_Tick(sender As Object, e As EventArgs) Handles Timer2.Tick
If K9Core.CheckInternetConn = True Then
tsslblIntSta.ForeColor = Color.Green
tsslblIntSta.Text = "ONLINE" 'Warning CA1303
ElseIf K9Core.CheckInternetConn = False Then
tsslblIntSta.ForeColor = Color.Red
tsslblIntSta.Text = "OFFLINE" 'Warning CA1303
End If
End Sub
And also I need to know, Can I ignore these FxCop Warning. is that ok with Application structure
Thank you...
Rohan!~
RohanD
Continue reading...