







![]() ![]() |
DotRas SDK Documentation |
RasEntry..::..CreateBroadbandEntry Method (String, RasDevice) |
RasEntry Class See Also Send Feedback |
![]() |
Creates a new broadband entry.
Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)
Syntax
C# |
---|
public static RasEntry CreateBroadbandEntry( string name, RasDevice device ) |
Visual Basic |
---|
Public Shared Function CreateBroadbandEntry ( name As String, device As RasDevice ) As RasEntry |
Visual C++ |
---|
public: static RasEntry^ CreateBroadbandEntry( String^ name, RasDevice^ device ) |
F# |
---|
static member CreateBroadbandEntry : name : string * device : RasDevice -> RasEntry |
Parameters
- name
- Type: System..::..String
The name of the entry.
- device
- Type: DotRas..::..RasDevice
Required. An RasDevice to use for connecting.
Return Value
Type: RasEntryA new RasEntry object.
Remarks
The device for this connection is typically a WAN Miniport (PPPOE) device.
Windows XP and later: This method is supported.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | name is an empty string or null reference (Nothing in Visual Basic). |
System..::..ArgumentNullException | device is a null reference (Nothing in Visual Basic). |