本文整理汇总了VB.NET中System.Web.ClientServices.Providers.UserValidatedEventArgs类的典型用法代码示例。如果您正苦于以下问题:VB.NET UserValidatedEventArgs类的具体用法?VB.NET UserValidatedEventArgs怎么用?VB.NET UserValidatedEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了UserValidatedEventArgs类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的VB.NET代码示例。
示例1:
Private WithEvents formsMembershipProvider As _
ClientFormsAuthenticationMembershipProvider = _
System.Web.Security.Membership.Provider
Private appName As String = "ClientAppServicesDemo"
Private Sub Form1_UserValidated(ByVal sender As Object, _
ByVal e As UserValidatedEventArgs) _
Handles formsMembershipProvider.UserValidated
' Set the form's title bar to the application name and the user name.
Me.Text = String.Format("{0} ({1})", appName, e.UserName)
End Sub