|   |   |   | 
| Capture.Capture Constructor | Language: | 
Initializes a new instance of the Capture class using the default Microsoft DirectSound capture device.
Visual Basic Public Sub New() C# public Capture(); C++ public: 
Capture();JScript public function Capture(); 
Exceptions
ArgumentException An invalid parameter was passed to the called method. OutOfMemoryException DirectSound could not allocate sufficient memory to complete the call. AllocatedException The request failed because resources, such as a priority level, were already in use by another caller. NoAggregationException The object does not support aggregation. 
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
        
          Feedback? Please provide us with your comments on this topic.
			
        
        
	   		For more help, visit the DirectX Developer Center