NativeMethods.WSAStringToAddressW, méthode (String, Int32, IntPtr, NativeMethods.SOCKADDR_IN6%, Int32%)
Ce type a un attribut SecurityCriticalAttribute, qui le limite à un usage interne par la bibliothèque de classes .NET Framework pour Silverlight. Un code d'application qui utilise un membre de ce type lève une exception MethodAccessException.
Espace de noms : Microsoft.TeamFoundation.Common.Internal
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
Public Shared Function WSAStringToAddressW ( _
addressString As String, _
addressFamily As Integer, _
lpProtocolInfo As IntPtr, _
ByRef lpAddress As NativeMethods.SOCKADDR_IN6, _
ByRef lpAddressLength As Integer _
) As UInteger
public static uint WSAStringToAddressW(
string addressString,
int addressFamily,
IntPtr lpProtocolInfo,
ref NativeMethods.SOCKADDR_IN6 lpAddress,
ref int lpAddressLength
)
Paramètres
- addressString
Type : System.String
- addressFamily
Type : System.Int32
- lpProtocolInfo
Type : System.IntPtr
- lpAddress
Type : Microsoft.TeamFoundation.Common.Internal.NativeMethods.SOCKADDR_IN6%
- lpAddressLength
Type : System.Int32%
Valeur de retour
Type : System.UInt32